We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
FhirXmlPocoDeserializer doesn't catch invalid repeating elements.
Here's a unit test that proves this:
[TestMethod] public void TryDeserializeMultipleNonRepeatingValues() { var content = "<name xmlns=\"http://hl7.org/fhir\" >" + "<family value=\"oof\"/>" + "<family value=\"bar\"/>" + "</name>"; var reader = constructReader(content); reader.Read(); var state = new FhirXmlPocoDeserializerState(); var deserializer = getTestDeserializer(new()); var datatype = deserializer.DeserializeElementInternal(typeof(TestHumanName), reader, state); datatype.Should().BeOfType<TestHumanName>(); datatype.As<TestHumanName>().Family.Should().Be("bar"); state.Errors.Should().HaveCount(1); }
Todo:
The text was updated successfully, but these errors were encountered:
FirelyTeam#2435 If there is a duplicated XML element for a single car…
3ff9988
…dinality property, report that!
This was fixed by #2434.
Sorry, something went wrong.
brianpos
No branches or pull requests
FhirXmlPocoDeserializer doesn't catch invalid repeating elements.
Here's a unit test that proves this:
Todo:
The text was updated successfully, but these errors were encountered: