Skip to Main Content

Java EE (Java Enterprise Edition) General Discussion

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

parser vendor name

843834Mar 4 2005 — edited Mar 7 2005
i recently found out that JSDK 1.5 includes the Xerces parser?

I'm using Tomcat 5.5.7 (with Java 1.5)..apparently, since Java 1.5 include the xerces parser, i do not need to put the xerces jar in the web app or common endorsed folder. I found out that Tomvcat will give me an error if i try to put xerces parser in these folder (library collision?)

Anyway, the problem i'm having now is the vendor name of the parser.

i was using
String PARSER_VENDOR     = "org.apache.xerces.parsers.SAXParser";
String LOAD_EXTERNAL_DTD = "http://apache.org/xml/features/nonvalidating/load-external-dtd";
String DTD_VALIDATION    = "http://xml.org/sax/features/validation";
can anyone give me th enew correct vendor name, load_external_dtd, and dtd_validation string? or a site that show the changes would be better.

i google, but (urghh), i'm not getting any food info..keep getting page showing me how to use the Xerces parse (old way).

thanx in advance
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Apr 4 2005
Added on Mar 4 2005
1 comment
91 views