[xml] Validation - controlling schema location directory?

2009-09-04 Thread Geir S. Eidissen
I need to validate a large number of different xml files with schemas provided by 3rd party, most of the schemas import other schemas. The schemaLocation attribute is specified by the creator of the schema and outside my control, schemas are normally but not always “schemaLocationed“ in

[xml] htmlParseDoc Leak ?

2009-09-04 Thread stephane.rub...@laposte.net
See all Laposte.net fête ses 10 ans ! Gratuite, garantie à vie et déjà utilisée par des millions d'internautes... vous aussi, pour votre adresse e-mail, choisissez laposte.net. Laposte.net, bien + qu'une

Re: [xml] ignore undefined namespaces during parsing

2009-09-04 Thread Michael Ludwig
mini thomas schrieb: So what you are saying is there is no way to get the xml document serialized with namespaces if it is not namespace-well-formed ? Have you ever managed to turn water into wine? If it is not namespace-well-formed, parsing it with namespaces turned on yields a syntax

Re: [xml] Validation - controlling schema location directory?

2009-09-04 Thread Michael Ludwig
Geir S. Eidissen schrieb: The validation is run from different computers (Windows) in a LAN and I want to avoid having to distribute all schemas to every computer and instead point libxml to a common directory on the server. Is there a way to tell xmlSchemaValidateDoc to pick the schemas from

Re: [xml] ignore undefined namespaces during parsing

2009-09-04 Thread mini thomas
  Thanks a lot for the quick replies.   How to parse with namespace turned off ??   Thanks, Mini     ___ xml mailing list, project page http://xmlsoft.org/ xml@gnome.org http://mail.gnome.org/mailman/listinfo/xml

Re: [xml] ignore undefined namespaces during parsing

2009-09-04 Thread Michael Ludwig
mini thomas schrieb: How to parse with namespace turned off ?? Be aware that this means: How to go back a decade? http://xmlsoft.org/namespaces.html The libxml2 library [...] does namespace lookup automatically when building the DOM tree. I'm not sure this is supported in LibXML2;

Re: [xml] ignore undefined namespaces during parsing

2009-09-04 Thread mini thomas
Yes I have used xerces. But now I need to use libxml2 and the main road block is strict namespace validation. So waiting for Daniel's response.   Thanks Mini --- On Fri, 9/4/09, Michael Ludwig m...@as-guides.com wrote: From: Michael Ludwig m...@as-guides.com Subject: Re: [xml] ignore undefined

Re: [xml] ignore undefined namespaces during parsing

2009-09-04 Thread Liam R E Quin
On Fri, 2009-09-04 at 05:26 -0700, mini thomas wrote: Yes I have used xerces. But now I need to use libxml2 and the main road block is strict namespace validation. So waiting for Daniel's response. Thanks Why do you need this? Can you fix the XML? That's usually the best approach. Liam