File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Problem validating XML against XSD using JDK1.4

 
Shrinivas Mujumdar
Ranch Hand
Posts: 328
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 183
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 328
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks Rajgopal,
I will try it out & will trouble you one more time if it doesn't work.

Shrinivas
 
Shrinivas Mujumdar
Ranch Hand
Posts: 328
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks a Lot rajgopala.

Shrinivas
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic