db-derby-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Army <qoz...@gmail.com>
Subject Re: [jira] Updated: (DERBY-1655) Document XML functionality for 10.2
Date Wed, 09 Aug 2006 20:22:44 GMT
David Van Couvering wrote:

> Hi, Army.  I thought you said in your code comments that you were just 
> going to use the XML parser that is part of the VM.  Is that no longer 
> the case?  Or did I misunderstand.

Derby will use whatever JAXP parser it finds in its classpath.  If the VM has an 
XML parser embedded (which most (all?) jvms that are 1.4 or later do) then the 
XML parser from the VM will be used.  If the jvm doesn't have its own JAXP 
parser, then the user can put one in his/her classpath and it'll use that.  Thus 
the user can, for example, use XML with 1.3 JVMs so long as s/he has some JAXP 
implementation and the Xalan classes in his/her classpath.

If the VM has a parser embedded but it is overridden by Java's "endorsed 
standards" technique, then the version that is endorsed will be picked up by 
Derby, as expected.

So Yes, the Derby code will use the XML parser that is part of the VM, if the VM 
has one.

Is there something in the documentation that is making you think otherwise?

Army


Mime
View raw message