Which are true about JAXP APIs? (Choose two)
-
They are a part of J2SE1.4
-
They are not part of J2SE1.4
-
They provide developers with parser-implementation API to process XML
-
They do not support validation of XML documents against schema
JAXP (Java API for XML Processing) was integrated into J2SE 1.4, making it part of the standard Java platform (option A correct). It provides parser-implementation APIs that enable developers to process and manipulate XML documents through DOM, SAX, and XSLT interfaces (option C correct). Option B is false because JAXP is indeed part of J2SE 1.4. Option D is false because JAXP does support validation of XML documents against schemas (DTD, XSD). These characteristics made JAXP the standard Java XML processing API, eliminating the need for vendor-specific XML parsers.