Some problems have been noted in the past with the OOXML schemas; they apparently use some dodgy techniques. See, for instance, http://www.xmlopen.org/ooxml-wiki/index.php/Schema_Annexes and http://www.iso-vote.com/jisc.html.
-----Original Message----- From: Daniel Jackson [mailto:[EMAIL PROTECTED] Sent: Friday, April 18, 2008 4:37 AM To: [email protected] Subject: OpenXML Office schema validation issues Hi, I'm having trouble validating the XML files included in a docx file. I'm using DOMPrint sample app with the following flags: DOMPrint.exe -v=always -n -s -f "document.xml" This gives a few errors such as: Error at file "document.xml", line 2, column 583 Message: Unknown element 'w:document' So I changed the code abit and called loadGrammar just before parser->parse and loaded "wml.xsd". But Xerces fails when trying to load "wml.xsd" with a whole bunch of errors that I can't quite figure out. I have downloaded the schemas from http://www.ecma-international.org/news/TC45_current_work/TC45_available_ docs.htm - the link is at the bottom of the page. And made a simple docx file using Word 2007, that I've attached. http://www.nabble.com/file/p16762235/document.xml document.xml Any help will be appreciated. -- View this message in context: http://www.nabble.com/OpenXML-Office-schema-validation-issues-tp16762235 p16762235.html Sent from the Xerces - C - Dev mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
