tag:blogger.com,1999:blog-5048327124946889578.post3699864605259530638..comments2023-11-11T12:59:40.254+05:30Comments on Mukul Gandhi: XSD 1.1: xs:precisionDecimal, assertions and Xerces-J updatesMukul Gandhihttp://www.blogger.com/profile/18274168324155284011noreply@blogger.comBlogger3125tag:blogger.com,1999:blog-5048327124946889578.post-26392073850243747152011-07-16T14:42:07.191+05:302011-07-16T14:42:07.191+05:30Nice article , you have indeed cover the topic wit...Nice article , you have indeed cover the topic with great details. I have also blogged my experience as<a href="http://javarevisited.blogspot.com/2011/06/comparator-and-comparable-in-java.html" rel="nofollow">comparator and comparablein java with example</a> . let me know how do you find it.javin paulhttps://www.blogger.com/profile/15028902221295732276noreply@blogger.comtag:blogger.com,1999:blog-5048327124946889578.post-22376969956924705682010-05-19T21:31:40.713+05:302010-05-19T21:31:40.713+05:30The next Xerces-J release (2.10.0), would support ...The next Xerces-J release (2.10.0), would support XSD 1.1 including assertions. This version, is still not released officially at Apache. But we're hoping to see it released sometime soon :) If you're feeling adventurous, you could try building the Xerces JARs from SVN (at, https://svn.apache.org/repos/asf/xerces/java/branches/xml-schema-1.1-dev/).<br /><br />Regarding, "Error message customization" for assertions, the current support for this in Xerces requires us to use an attribute, "message" (in a namespace, http://xerces.apache.org) on "assert/assertion" element. I agree, that the idea described at IBM developerWorks site, to use "xs:annotation" for assertions error messages, is a good one.<br /><br />There's also an issue pending with XSD WG, related to this same very topic. We'll need to wait, for XSD WG's final recommendation regarding assertions "error message" handling, and Xerces implementation might change accordingly.Mukul Gandhihttps://www.blogger.com/profile/18274168324155284011noreply@blogger.comtag:blogger.com,1999:blog-5048327124946889578.post-59084962798328985312010-05-19T17:55:12.441+05:302010-05-19T17:55:12.441+05:30I can't determine exactly what release of Xerc...I can't determine exactly what release of Xerces I need to have to support XSD 1.1 assertions. Is it in the latest release?<br /><br />Please send me an e-mail and let me know - mmellon@ecrsoft.com.<br /><br />On a side note, IBM makes a different recommendation for error message customization here:<br /><br />http://www.ibm.com/developerworks/library/x-xml11pt2/<br /><br />(scroll to "Error message customization for assertions")<br /><br />It's a real shame that XSD 1.1 doesn't have a standard method of error message customization. I almost can't believe it was overlooked.Unknownhttps://www.blogger.com/profile/11960454221021934176noreply@blogger.com