hi; i can get this error with any schema and instance:
bash-2.05$ /usr/home/spaz/Compile/xerces-c-src1_6_0/bin/SAX2Count Test.xml Fatal Error at file /usr/home/spaz/Xml/XMLSNs/Test.xml, line 4, char 65 Message: The schemaLocation attribute does not contain pairs of values. here is the runConfigure args i used, based on searching in the list for building the parser sh ./runConfigure -p freebsd -c gcc -x g++ -t IconvFBSD for building the samples sh ./runConfigure -p freebsd -c gcc -x g++ here is the schema and instance, i just obtained them from a thread on the xerces-j mailing list and it was much simpler than the schema i was using, so i thought it would be a good test case. thankyou David Ezell <[EMAIL PROTECTED]> <?xml version="1.0" encoding="UTF-8"?> <schema targetNamespace="http://lnk.com/test" xmlns="http://www.w3.org/2001/XMLSchema" xmlns:test="http://lnk.com/test" elementFormDefault="unqualified"> <element name="Product" type="test:ProductType"/> <element name="GlobMsg" type="string"/> <complexType name="ProductType"> <sequence> <element name="Msg" type="test:MsgType"/> <element ref="test:GlobMsg" minOccurs="0"/> </sequence> </complexType> <complexType name="MsgType"> <attribute name="Type" type="string"/> </complexType> </schema> <?xml version="1.0"?> <test:Product xmlns:test="http://lnk.com/test" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://lnk.com/test test.xsd"> <Msg Type="SitRep"/> <test:GlobMsg>hello world</test:GlobMsg> </test:Product> --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
