[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: RE: XML Schema to relaxNG xslt
Dare Obasanjo scripsit: > <element name="favoriteMonth" datatypeLibrary="http://www.w3.org/2001/XMLSchema-datatypes" > xmlns="http://relaxng.org/ns/structure/1.0"> > <data type="gMonth"> > <param name="maxInclusive">--11--</param> > </data> > </element> > > RESULTS OF VALIDATION WITH JING: > Fatal error at URL "file:/C:/Jing/test.rng", line number 4: exception "java.lang.StringIndexOutOfBoundsException" thrown: 7 Granted that Jing shouldn't crash, the corrected syntax for gMonth is "--11" (see http://www.w3.org/2001/05/xmlschema-errata.html#Errata2 at E2-12) and that does work fine. -- John Cowan <jcowan@r...> http://www.reutershealth.com I amar prestar aen, han mathon ne nen, http://www.ccil.org/~cowan han mathon ne chae, a han noston ne 'wilith. --Galadriel, _LOTR:FOTR_
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|