• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Default XML parser used in Java1. 4 or 1.5

 
amit punekar
Ranch Hand
Posts: 544
  • Mark post as helpful
  • send pies
  • 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
 
Paul Clapham
Sheriff
Pie
Posts: 20750
30
Eclipse IDE Firefox Browser MySQL Database
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
How about this?
 
amit punekar
Ranch Hand
Posts: 544
  • Mark post as helpful
  • send pies
  • 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
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic