Re: Validating with XML::LibXML::RelaxNG?

Vaclav Barta <[email protected]>
Newsgroups gmane.comp.lang.perl.xml
Message-ID <[email protected]>
On Thursday 16 July 2009 16:20:37 Petr Pajas wrote:
> 2009/7/16 Petr Pajas <[email protected]>:
> > 2009/7/7 Vaclav Barta <[email protected]>:
> >> If you're concerned about efficiency, I suppose you can maintain a
> >> 3-state flag per document:
> > In fact I can never be completely sure about the second case, since
> > the validator simply compares node->psvi's as pointers. It you free
> > one schema and load another one, there is a nonzero (though little)
> > chance that some node->psvi pointers will again point to a grammar
Ah yes - I forgot there can be more than one schema...

> > This is in fact nice, since it reduces the situation to just two
> > cases: validated before / never validated. When a document is
> > validated, I just have to taint the document node and keep it tainted
> > forever. This means I won't have to worry about linking nodes with the
Yes.

	Bye
		Vasek
_______________________________________________
Perl-XML mailing list
[email protected]
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs
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.