Multiple choice technology web technology

Which are true about JAXP APIs? (Choose two)

  1. They are a part of J2SE1.4

  2. They are not part of J2SE1.4

  3. They provide developers with parser-implementation API to process XML

  4. They do not support validation of XML documents against schema

Reveal answer Fill a bubble to check yourself
A,C Correct answer
Explanation

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.