Re: What would you like to see in XML::LibXML ?

Francisco Obispo <[email protected]> Mon, 3 Dec 2012 11:04:06 -0800
Newsgroups gmane.comp.lang.perl.xml
Message-ID <[email protected]>
I'm just thinking that it would be interesting to have the parser look at the xmlns and see if there is a matching entry in the XML catalog, and if there is, it should use that for validation.

If that's not the case, we should then make really explicit that the ->validation(1) option is just really dtd_validation. Perhaps we could then add ->xsd_validation(1) and ->rng_validation(1) ?

What I want to avoid is to have the parse-validation de-coupled.

Francisco Obispo 
Director of Applications and Services - ISC
email: [email protected]
Phone: +1 650 423 1374 || INOC-DBA *3557* NOC
PGP KeyID = B38DB1BE

On Dec 3, 2012, at 1:27 AM, Shlomi Fish <[email protected]> wrote:

> 
> Not sure I like it. For once, there are other types of schemas - RELAX NG,
> Schematron, etc. And furthermore, it may be quite costly, and I'm not sure if
> the libxml2 interface maps directly to it.
> 
> Regards,
> 
> 	Shlomi Fish

_______________________________________________
Perl-XML mailing list
[email protected]
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs