• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

xml not parcing

 
Ranch Hand
Posts: 47
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
hi i am doing a project in jsp+spring+hibernate , the jsp page is being complied ,
but the problem is that the spring configuration file is not being parsed it is giving the error as follows:

Parser configuration exception parsing XML from class path resource [applicationContext.xml];
nested exception is javax.xml.parsers.ParserConfigurationException: Unable to validate using XSD:
Your JAXP provider [org.apache.xerces.jaxp.DocumentBuilderFactoryImpl@6c5482] does not support XML
Schema. Are you running on Java 1.4 with Apache Crimson? Upgrade to Apache Xerces (or Java 1.5) for full XSD support.


i am using java 1.5.12 for the configuration.
Please tell the solution ..

Thanks in advance:
Premchand Kumar
 
Ranch Hand
Posts: 47
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
As the problem tells you, your xml file does not fit to your xsd file.
I guess you know the relationship between xml and xsd.
So, you are using an an element or attribute that is not in the xsd schema.
You should check your xml file against your xsd.
reply
    Bookmark Topic Watch Topic
  • New Topic