FHIR Chat · XmlSpy vs Java regex · implementers

Stream: implementers

Topic: XmlSpy vs Java regex


view this post on Zulip Grahame Grieve (Nov 01 2017 at 23:19):

I just improved the regex validation on the primitive data types in the trunk version of FHIR. That's thrown up an issue: the regex for = is interpreted differently in XmlSpy and the Java schema library. It must be escaped for XmlSpy, and it must not be escaped for the Java schema library. Has anyone run into this, or have any work arounds?

view this post on Zulip Lloyd McKenzie (Nov 02 2017 at 00:58):

The issue turned out to be something else, though we still have one example that's invalid.

view this post on Zulip Lloyd McKenzie (Nov 02 2017 at 03:17):

The example was genuinely invalid. Whitespace had been inserted into the instance that didn't result in breaks on a 4-character (3-byte) basis.


Last updated: Apr 12 2022 at 19:14 UTC