[x3d-public] Major stumbling block in X3DJSAIL. NMTOKEN regexp

yottzumm at gmail.com yottzumm at gmail.com
Thu Jan 26 01:18:56 PST 2017

These regular expression matches are causing a major stumbling block in the debugging of X3DJSAIL.   They should be replaced or fixed with something from X3D Schema (something which matches the standard).  There are more files which pass running in Java, but they fail when the files are diffed against the original.  I will work on creating a report on the diffs at some point (I may have to fix my Java serializer), but for now, we can work on this.

CreateX3dSceneAccessInterfaceJava.xslt:17409:                   !newValue.matches("[a-zA-Z_][a-zA-Z_0-9]*")) // NMTOKEN character regex check
CreateX3dSceneAccessInterfaceJava.xslt:17427:                   !newValue.matches("[a-zA-Z_][a-zA-Z_0-9]*")) // NMTOKEN character regex check
CreateX3dSceneAccessInterfaceJava.xslt:18339:                   !newValue.matches("[a-zA-Z_][a-zA-Z_0-9]*")) // NMTOKEN character regex check</xsl:text>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://web3d.org/pipermail/x3d-public_web3d.org/attachments/20170126/22b974cf/attachment.html>

More information about the x3d-public mailing list