Hello Team,
We were testing negative test cases for XDR Test 3 (Receiver) with USCDI V3.
Our system successfully responded with a Invalid xml for a bad xml test, it can be seen in the Logs -> Response. Still the test case showed Failed, are we missing anything or is it a valid behavior?
For another test in the same category (NT_Missing_PatientName_r11_v2.xml) the test case showed Success (Our system's response was Success), though there was a missing Patient Name.
Please help us understand the negative scenarios in XDR Test 3.
Response on Bad Xml
-----------------------------------------------------------------
<rs:RegistryResponse status="urn:oasis:names:tc:ebxml-regrep:ResponseStatusType:Failure"
xmlns:rs="urn:oasis:names:tc:ebxml-regrep:xsd:rs:3.0">
<rs:RegistryErrorList highestSeverity="urn:oasis:names:tc:ebxml-regrep:ErrorSeverityType:Error">
<rs:RegistryError errorCode="InvalidDocumentContent"
codeContext="The document (Document01) is listed as text/xml but it is not a valid text/xml document. The detected error was 'Name cannot begin with the '<' character, hexadecimal value 0x3C. Line 59, position 4.'"
severity="urn:oasis:names:tc:ebxml-regrep:ErrorSeverityType:Error"
location="Validation: Well-formed XML [5815]"/>
</rs:RegistryErrorList>
</rs:RegistryResponse>
-------------------------------------------------------------------
Success Missing Patient Name

Response on Missing Patient Name
------------------------------------------------------------------
<rs:RegistryResponse status="urn:oasis:names:tc:ebxml-regrep:ResponseStatusType:Success"
xmlns:rs="urn:oasis:names:tc:ebxml-regrep:xsd:rs:3.0"/>
-----------------------------------------------------------------
Hope this helps. Please let us know for any more information.
Thanks,
Sagar