Re: DOMPrint and schema validation

2004-09-08 Thread elsa lizette
Hi everybody !! Thank you very much for your answers. I was checking what Gareth recommend me. I downloaded the "xerces-c-current.zip" distribution and tried to compile by myself but I could not see the error messages. However, with this new pre-compiled version I can read them. Thank you both

Re: DOMPrint and schema validation

2004-09-07 Thread Vitaly Prapirny
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 attri

Re: DOMPrint and schema validation

2004-09-07 Thread Gareth Reakes
Hi, the first does cause an error message about the required attribute. The only change I met was to put the schema in the same directory as the xml file and referenced it with a relative path. Try this. If this does not do it then try updating to cvs head - thats what I use. Whatever the resu

Re: DOMPrint and schema validation

2004-09-06 Thread elsa lizette
Hello Gareth !! Thank you very much for your reply. I have this schema: -- -- http://www.w3.org/2001/XMLSchema"; elementFormDefault="qualified" attributeFormDefault="unqualified">

Re: DOMPrint and schema validation

2004-09-06 Thread Gareth Reakes
Hi, thats certainly not expected behavior. Can you post a minimal xml document and schema that demonstrates this? Cheers, Gareth elsa lizette wrote: Hello everybody !! I am trying to validate an xml using a schema. I compiled DOMPrint example and run it: DOMPrint -v=always -n -s x1.xml However,