• 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

How to use JExamXML with Crimson

 
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hello,

A7Soft JExamXML (http://www.a7soft.com) uses XML parser Xerces. I want to use it with another XML parser.
(Crimson for instance) Can anybody help me.
 
Marshal
Posts: 28177
95
Eclipse IDE Firefox Browser MySQL Database
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
The standard way to affect what parser is used is to specify a system property and its value. If you want to have a particular DOM parser used, then you find the name of the DocumentBuilderFactory class that creates that parser (fully qualified class name of course) and assign its name to the javax.xml.parsers.DocumentBuilderFactory system property. Or if it's a SAX parser you want used, then you find the name of your SAXParserFactory and assign that name to the javax.xml.parsers.SAXParserFactory system property.

Of course it's possible your package might prevent this from working by hard-coding the Xerces parser class into their code. In that case there is nothing you can do except to get the code changed.
 
Don't get me started about those stupid light bulbs.
reply
    Bookmark Topic Watch Topic
  • New Topic