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-tp16762235p16762235.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]

Reply via email to