[Mono-list] Support for RelaxNG compact syntax

Mohammad Tayseer m_tayseer82 at yahoo.com
Mon Aug 25 10:23:24 EDT 2008


Dear Mono developers,

I was trying to parse a RelaxNG compact syntax. It worked very well until I had to use the "external" keyword. It always tries to parse the external file as the verbose syntax. When I use the verbose syntax for the external file, it works well.

This is also a stack trace of the exception thrown when I'm using the compact syntax in the external file

Data at the root level is invalid. Line 1, position 1.
at System.Xml.XmlTextReaderImpl.Throw(Exception e) 
at System.Xml.XmlTextReaderImpl.Throw(String res, String arg) 
at System.Xml.XmlTextReaderImpl.ParseRootLevelWhitespace() 
at System.Xml.XmlTextReaderImpl.ParseDocumentContent() 
at System.Xml.XmlTextReaderImpl.Read() 
at System.Xml.XmlTextReader.Read() 
..... (Removed for brevity)
at Commons.Xml.Relaxng.RelaxngPattern.Compile() 

Thanks

 Mohammad Tayseer
http://spellcoder.com/blogs/tayseer


      
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ximian.com/pipermail/mono-list/attachments/20080825/54ff9d98/attachment.html 


More information about the Mono-list mailing list