You are viewing a plain text version of this content. The canonical link for it is here.
Posted to j-users@xerces.apache.org by David M Williams <da...@us.ibm.com> on 2006/08/30 05:00:29 UTC

Any plans for Xerces to ever use Java 5 constructs?

Seeing @xerces.internal in a recent post, reminded me, I've been meaning 
to ask ... 

Has there ever been any thought or plans to support any of the Java 5 
language constructs? 
Such as enums, generics? I'm not saying I need it or even that it'd be 
nice to have ... I'm just curious
at this point. 

Thanks for any pointers to "plans" ... I didn't see any at 
http://xerces.apache.org/xerces2-j/




Re: Problem with DOMConfigurator.configure(url) in tomcat-4.1.30 and Xerces-J-bin.2.8.0.

Posted by Jacob Kjome <ho...@visi.com>.
This is a Log4j issue.  Please send it to the log4j-user list 
[1].  I'm sure you will get the help you need there.  BTW, when you 
post there, you should print out the stack trace in the exception 
that you are catching.  The exception is not being caught, then catch 
Throwable (only for diagnostic purposes).  No one will be able to 
help you without a stack trace.

Jake

[1] log4j-user@logging.apache.org


At 07:59 AM 8/30/2006, you wrote:
 >Hellow
 >
 >I am implemented the class DOMConfigurator.configure(url) in my program, but
 >when executing the application falls and i can't capture the error, However
 >when I eliminate the line works.
 >
 > nevertheless if exempt him the line where this defined call to this class
 >the application if it works. I am using: jakarta-tomcat-4.1.30 and
 >Xerces-J-bin.2.8.0.
 >
 >
 >Example:
 >            //I form the URL
 >               URL url =
 >Thread.currentThread().getContextClassLoader().getResource("oiLogJ.xml");
 >
 >               if(url!=null){
 >                   try {
 >                         DOMConfigurator.configure(url); //This does not work
 >                } catch (Exception fcerr) {
 >
 >                   }
 >             }
 >
 >
 >Thanks
 >
 >Zulema
 >
 >
 >
 >---------------------------------------------------------------------
 >To unsubscribe, e-mail: j-users-unsubscribe@xerces.apache.org
 >For additional commands, e-mail: j-users-help@xerces.apache.org


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


Re: Any plans for Xerces to ever use Java 5 constructs?

Posted by Michael Glavassevich <mr...@ca.ibm.com>.
Hi David,

Java 5 is quite a jump from JDK 1.2, the version which Xerces should still 
be able to run on though the binaries which get distributed are built with 
JDK 1.3 these days. It wasn't too long ago that we dropped support for JDK 
1.1 [1] and even then (2004) there were still some Xerces users that 
needed a parser that ran on it. The low JDK requirement is one of Xerces' 
features. Not everyone can move up to the latest and greatest release of 
Java. There would need to be a compelling reason to raise the bar higher. 
Of course if some future version of JAXP requires Java 5 Xerces would have 
to follow suit to support it. In the near term that shouldn't be an issue. 
The upcoming JAXP 1.4 should still be implementable with JDK 1.2.

Thanks.

[1] http://marc.theaimsgroup.com/?t=107392723100008&r=1&w=2

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

David M Williams <da...@us.ibm.com> wrote on 08/29/2006 11:00:29 
PM:

> Seeing @xerces.internal in a recent post, reminded me, I've been 
> meaning to ask ... 
> 
> Has there ever been any thought or plans to support any of the Java 
> 5 language constructs? 
> Such as enums, generics? I'm not saying I need it or even that it'd 
> be nice to have ... I'm just curious 
> at this point. 
> 
> Thanks for any pointers to "plans" ... I didn't see any at 
> http://xerces.apache.org/xerces2-j/


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