Ron Gavlin <[EMAIL PROTECTED]> wrote on 09/17/2006 11:31:34 PM:

> Michael,
> 
> Thanks for the reply. 
> 
> I've included my complete test program below. The test only works 
> with the Xerces XMLSchemaFactory if I clone the schema document 
> element each time before it is wrapped by a DOMSource. Is this the 
> expected behavior? I find it interesting that the JDK 1.5 
> SchemaFactory does not require the schema document element to be 
> cloned? Can you explain the discrepancy?

Are you using redefine in your schema? If so the schema loader is probably 
mutating the input DOM. That's a bug which hasn't been fixed yet.

Michael Glavassevich
XML Parser Development
IBM Toronto Lab
E-mail: [EMAIL PROTECTED]
E-mail: [EMAIL PROTECTED]

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

Reply via email to