OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

 


 

   Re: [xml-dev] RE: XML Schema to relaxNG xslt

[ Lists Home | Date Index | Thread Index ]

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@reutershealth.com>     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_




 

News | XML in Industry | Calendar | XML Registry
Marketplace | Resources | MyXML.org | Sponsors | Privacy Statement

Copyright 2001 XML.org. This site is hosted by OASIS