aizu-m opened a new pull request, #173: URL: https://github.com/apache/poi-xmlbeans/pull/173
XmlUnionImpl.set_text moves on to the next member type when a member accepts the lexical value but that value is not enumerated, so with memberTypes='xs:int xs:boolean' and <xs:enumeration value='true'/> the instance value '1' is reinterpreted as the boolean true and passes XmlObject.validate() and ValidatingXMLStreamReader where Xerces reports cvc-enumeration-valid (found by a differential run against the JDK Xerces validator); the first member that accepts the lexical form now decides the value, as Datatypes 2.5.1.3 requires. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
