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
_______________________________________________ Mono-list maillist - [email protected] http://lists.ximian.com/mailman/listinfo/mono-list
