From: Fabrizio Ammollo (f.ammollo@reitek.com)
Date: Wed Feb 21 2001 - 10:06:20 EST
On Wednesday 21 February 2001 14:22, Daniel Veillard wrote:
> I think youwill have problems because the validation need that you
> use the tree building stuff, and by pluging at the SAX level, well
> you don't.
I (unfortunately) suspected that.. after trying, I discovered that even by
setting to 1 the global variable xmlDoValidityCheckingDefaultValue, at the
end of the ParseDocument the value of ctxt->valid is always 1, regardless of
the real validity of the document..
If the validation is only possible by working directly with the DOM, I could
first create it and validate the document and then work as I'm doing now at
the SAX level ? I know this is a waste of processing power, but it could be
the fastest way to solve this particular problem..
I also noticed that the getLineNumber and getColumnNumber report strange
values.. this is always related to the usage at the SAX level ?
Thank you for your help.
> Daniel
-- Bye, Fabrizio. ---- Message from the list xml@rpmfind.net Archived at : http://xmlsoft.org/messages/ to unsubscribe: echo "unsubscribe xml" | mail majordomo@rpmfind.net
This archive was generated by hypermail 2b29 : Wed Feb 21 2001 - 10:43:39 EST