File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes XML and Related Technologies and the fly likes JAXP-compliant XML parser Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » XML and Related Technologies
Bookmark "JAXP-compliant XML parser " Watch "JAXP-compliant XML parser " New topic

JAXP-compliant XML parser

mini mehta
Ranch Hand

Joined: Oct 22, 2000
Posts: 120

Sorry, to ask such a basic question. But does somebody knows what does the phrase "JAXP-compliant XML parser " means? Is it DOM or SAX parser? or does it represents both?

Lasse Koskela

Joined: Jan 23, 2002
Posts: 11962
JAXP is a standard API for processing XML documents in Java using both DOM and SAX. Thus, a JAXP-compliant parser would be a parser that implements the hooks required by the JAXP specification so that the developer can write his XML processing code without importing any parser-specific packages -- the implementation is selected at runtime and used through these "hooks" behind the scenes.

Author of Test Driven (2007) and Effective Unit Testing (2013) [Blog] [HowToAskQuestionsOnJavaRanch]
I agree. Here's the link:
subject: JAXP-compliant XML parser
It's not a secret anymore!