• 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

Default XML parser used in Java1. 4 or 1.5

 
Ranch Hand
Posts: 544
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hello,
How would I know which is the default parser implementation a particular JDK is using.
I tried printing the javax.xml.parsers.DocumenBuilderFactory and javax.xml.parsers.SAXParserFactory.
Also I tried printing all the System properties to find out if any such property is present. But there was none.
Additionally API mentions it might check to see jaxp.properties in lib directory , which also is not present in the installation.
Am I missing something here?

Thanks,
Amit
 
Marshal
Posts: 28193
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
How about this?
 
amit punekar
Ranch Hand
Posts: 544
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
hi Paul,
thanks for your reply.
I tried and got "com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl" that means the Xerces parser.
Thank you once again for your help.

thanks and regards,
amit
 
reply
    Bookmark Topic Watch Topic
  • New Topic