Re: XML validation with .xsd file.

Martin Honnen <[email protected]>
Newsgroups gmane.comp.mozilla.devel.xml
Organization Liberty Development
Message-ID <[email protected]>

jmp wrote:


> Using the Mozilla 1.7.2 SDK, (for a XPCOM/XUL dedicated application),
> is it possible to validate a XML document with an .xsd file ?

Mozilla uses Expat for XML parsing and Expat cannot even validate 
against a DTD, it is a non-validating parser. Thus I don't think you can 
validate against a schema with Mozilla, unless you add an XPCOM 
component that integrates a parser like Xerces supporting schema validation.


-- 

	Martin Honnen
	http://JavaScript.FAQTs.com/
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.