[Mono-list] mono-xmltool and relaxng compact include

Atsushi Eno atsushi at ximian.com
Thu Dec 13 11:30:25 EST 2007


Hi,

Please post your "Strippable.rnc" too. I'm not sure which file
triggered the issue (yeah, the error reporting could be better).

Atsushi Eno

Travis Staloch wrote:
> 
> I'm using mono-xmltool to validate an xml document against a relaxng 
> compact (.rnc) schema.  I get this error if I use an include for a file 
> which is in the same directory as the referencing .rnc file. 
> 
> Tokenizer error at line 3, column 10: irrecoverable syntax error
> 
> This error goes away when I comment out the include.  Does anyone know 
> what I should do about this? 
> 
> I've included a simple schema and instance xml file to produce this 
> error message below.
> 
> Regards,
> 
> Travis
> 
> 
> simple.rnc
> -------
> include "Strippable.rnc"
> 
> element root {
>   element child1 {text}* &
>   element child2 {text}*
> }
> 
> simple.xml
> ------
> <root>
>   <child1>Some text</child1>
>   <child2>Some text</child2>
>   <child2>Some text</child2>
>   <child1>Some text</child1>
> </root>
> 
> 
> Never miss a thing. Make Yahoo your homepage. 
> <http://us.rd.yahoo.com/evt=51438/*http://www.yahoo.com/r/hs>
> 
> 
> ------------------------------------------------------------------------
> 
> _______________________________________________
> Mono-list maillist  -  Mono-list at lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-list



More information about the Mono-list mailing list