Hi Milan,

At 16.00 31/12/2004 +0100, Milan Tomic wrote:
Hi Albero,

I've tried that and got the error as it is in the attachment.

you are validating the XML file against the schema for the digital signatures, but your file also contains elements that are in the empty namespace. As you have not loaded a schema for these elements, you will be getting validation errors for all of them.
If you want to have zero validation errors, you need to create (or find) the schema for the "note" element and load it using loadGrammar.


[...]
        Btw, do I have to set useCachedGrammarInParse()? I'm validating
with schema only once and never again.

useCachedGrammarInParse() is needed, otherwise parse() will not look at the schema that loadGrammar() has previously loaded.


Alberto



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to