File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes XML and Related Technologies and the fly likes Problem validating XML against XSD using JDK1.4 Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » XML and Related Technologies
Bookmark "Problem validating XML against XSD using JDK1.4 " Watch "Problem validating XML against XSD using JDK1.4 " New topic
Author

Problem validating XML against XSD using JDK1.4

Shrinivas Mujumdar
Ranch Hand

Joined: Aug 27, 2004
Posts: 328
I have written the following code but,

XMLConstants.W3C_XML_SCHEMA_NS_URI giving problem on JDK1.4

giving Exception as IllegalArgumentException
any help on this? i am using JAXP1.3 for JDK1.4 (provided by SUN)



Thanx in advance

Shriniwas
Rajagopal Manohar
Ranch Hand

Joined: Nov 26, 2004
Posts: 183
giving Exception as IllegalArgumentException


I've seen this happening in the past because of using the Crimson parser(built in with jdk 1.4). Try having xerces in your classpath and see if you get the same error
[ December 10, 2005: Message edited by: Rajagopal Manohar ]
Shrinivas Mujumdar
Ranch Hand

Joined: Aug 27, 2004
Posts: 328
Thanks Rajgopal,
I will try it out & will trouble you one more time if it doesn't work.

Shrinivas
Shrinivas Mujumdar
Ranch Hand

Joined: Aug 27, 2004
Posts: 328
Thanks a Lot rajgopala.

Shrinivas
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Problem validating XML against XSD using JDK1.4
 
Similar Threads
Validate XML against XSD
validating xml
XML schema validation program error
XSD Validation using DOMSource isn't working in Java6
multiple validation errors in xml for given xsd with java