[prev in list] [next in list] [prev in thread] [next in thread] 

List:       xerces-j-user
Subject:    Re: Trouble with setSchema Method
From:       Michael Glavassevich <mrglavas () ca ! ibm ! com>
Date:       2005-07-18 2:11:48
Message-ID: OF30F9E283.AF86812C-ON85257042.000A5BD9-85257042.000C1048 () ca ! ibm ! com
[Download RAW message or body]

Hi Anthony,

The setSchema() method was added to DocumentBuilderFactory in JAXP 1.3. 
J2SE 1.4 contains an older version of JAXP (1.1) which doesn't have this 
method. Simply putting xml-apis.jar on the classpath doesn't work because 
the built-in libraries are always loaded first. Here are a couple FAQs 
[1][2] which describe how you can make use of JAXP 1.3 with J2SE 1.4.

[1] https://jaxp.dev.java.net/Updating.html#java-14
[2] http://xml.apache.org/xerces2-j/faq-general.html#faq-4

"Anthony N. Frasso" <afrasso@yahoo.com> wrote on 07/16/2005 07:21:35 PM:

> > I am currently using Xerces (for Java) version 2.7 on Mac OS X 10.3.
> 
> I should add this means I am using the J2SE 1.4.2.
> 
> Regards,
> Anthony Frasso
> 
> __________________________________________________
> Do You Yahoo!?
> Tired of spam?  Yahoo! Mail has the best spam protection around 
> http://mail.yahoo.com 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: j-users-unsubscribe@xerces.apache.org
> For additional commands, e-mail: j-users-help@xerces.apache.org
> 

Michael Glavassevich
XML Parser Development
IBM Toronto Lab
E-mail: mrglavas@ca.ibm.com
E-mail: mrglavas@apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: j-users-unsubscribe@xerces.apache.org
For additional commands, e-mail: j-users-help@xerces.apache.org

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic