Top "Jaxp" questions

The Java API for XML Processing (JAXP) enables applications to parse, transform, validate and query XML documents using an API that is independent of a particular XML processor implementation.

Workaround for XMLSchema not supporting maxOccurs larger than 5000

My problem is with parsing an XSD Schema that has elements with maxOccurs larger than 5000 (but not unbounded). This is …

java xml-parsing xsd xerces jaxp
java use StAX to get children elements in a generic fashion

I am trying to use StAX (I already dislike it....) It seems that the only way to use it is …

java dom stax jaxp
What's the difference of JAXP, JDOM, DOM4J,and XERCES?

What is the difference of them? It is said that JAXP is only a API Specification, JDOM and DOM4J …

java xml jdom jaxp
Is DocumentBuilderFactory thread-safe in Java 5+?

The Java 1.4 doc for javax.xml.parsers.DocumentBuilderFactory states in no uncertain terms: An implementation of the DocumentBuilderFactory class is …

java multithreading jaxp
How can I validate documents against Schematron schemas in Java?

As far as I can tell, JAXP by default supports W3C XML Schema and RelaxNG from Java 6. I can …

java validation schema jaxp schematron
JAXP XSLT transformer using wrong implementation by default

I've got a Tomcat 5.5 web application that uses the Apache Commons-Configuration library to generate an XML configuration file at runtime. …

java xslt tomcat jaxp
XSL left-right justification with Padding

Is there any standard template in XSLT 1.0 available which does justification and pad the field to max length? Thanks, Prabhjot

java xslt jaxp
Parsing Schema in Java With imports and includes?

I'm attempting to parse load a rather complicated XML schema into a Schema object in Java so I can do …

java validation xsd jaxp
How to validate an XML document using a RELAX NG schema and JAXP?

I would like to validate XML documents using RELAX NG schemata, and I would like to use the JAXP validation …

java xml validation relaxng jaxp
Java and XML (JAXP) - What about caching and thread-safety?

I'd like to know which objects can be reused (in the same or different document) when using the Java API …

java xml multithreading caching jaxp