Hi all, I have a parsing problem with xerces concerning schema and xinclude. I have two xml files and two schemas. I load the schemas thanks to DOMLSParser::loadGrammar
I have a filea.xml that includes fileb.xml <test id='BB' xmlns:xi='http://www.w3.org/2001/XInclude' > <xi:include href='fileb.xml'/> </test> I have a filea.xsd (the schema) that includes fileb.xsd <xsd:schema xmlns:xsd='http://www.w3.org/2001/XMLSchema'> <xsd:include schemaLocation='fileb.xsd'/> </xsd:schema> Problem when I uses xerces, I have an error "no declaration found for element 'xi:include' ". I uses fgXercesDoXInclude and fgXercesHandleMultipleImports flags. It seems that schema inclusion works, but xml inclusion does not. By the way my xml file is correct from a xmllint point of view. My question is there a way to split xml and xsd and be sure that xml is correctly checked by all xsd ? Best regards, -- View this message in context: http://old.nabble.com/Schema-XSD--and-Xinclude-tp31503743p31503743.html Sent from the Xerces - C - Users mailing list archive at Nabble.com.