SAXParser was working fine with when the xml conatined the attribute: xsi:noNamespaceSchemaLocation="GTS-Oasys.xsd" in it. When I took it out, and used saxParser->loadGrammar (/home/myhomedir/GTS-Oasys.xsd", Grammar::SchemaGrammarType, true) in my code it complained that it could not find the root element: 'gtsEquityTrade'
Below is the xml: <?xml version="1.0" encoding="UTF-8"?> <!--Sample XML file generated by XMLSpy v2007 (http://www.altova.com)--> <gtsEquityTrade xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <msgHdr> <dateTime>4294967295</dateTime> <institution>ACMCOAD</institution> <broker>CGMI</broker> ... ... Appreciate any help on this. Also need similar functionality for XercesDomParser. The incoming XML will not have the schema location attribute. I am using xerces-c++ 2.2.0 Thanks and Regards, Vijay --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
