aizu-m commented on PR #173:
URL: https://github.com/apache/poi-xmlbeans/pull/173#issuecomment-7139998415
Both fair. Split the description into short paragraphs, and spelled the
setStringValue change out at the end of it so it lands in the squash commit and
is ready to lift into the notes:
XmlUnionImpl: a union carrying an enumeration facet now rejects a lexical
value that its first matching member type accepts but the enumeration does not,
so setStringValue may throw XmlValueOutOfRangeException where it previously
took a value from a later member.
Your reading of it is right: check() only returns false when there's an
enumeration, so nothing else can reach the new throw. CHANGES.txt says it
hasn't been updated since V5.0.1 and points at status.html, so I've left it
untouched rather than reopen it. Say the word if you'd rather the line went
there, or somewhere else.
--
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]