This is what I see with xercesc 2.5.0 binaries from distribution file xerces-c_2_5_0-windows_nt-msvc_60.zip: ===================================================== E:\DOMPrint\Debug>DOMPrint -v=always -n -s x1.xml Error at file "E:\DOMPrint\Debug/x1.xml", line 5, column 34 Message: Required attribute 'attr1' was not provided
E:\DOMPrint\Debug>DOMPrint -v=always -n -s x2.xml Error at file "E:\DOMPrint\Debug/x2.xml", line 2, column 14 Message: Unknown element 'myrootnode' Error at file "E:\DOMPrint\Debug/x2.xml", line 4, column 18 Message: Unknown element 'firstElement' Error at file "E:\DOMPrint\Debug/x2.xml", line 4, column 18 Message: Attribute 'attr1' is not declared for element 'firstElement' Error at file "E:\DOMPrint\Debug/x2.xml", line 4, column 18 Message: Attribute 'attr2' is not declared for element 'firstElement' =====================================================
Seems OK to me.
Good luck !
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]