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.

Get an attribute of a dom node

I am trying to get an attribute of an xml node example: <Car name="Test"> </Car> …

java xml jaxp
How do I find out which JAXP implementation is in use and where it was loaded from?

I would like to provide diagnostic information about what JAXP implementation is in use, and which JAR file it was …

java version diagnostics jaxp
Retrieve value of XML node and node attribute using XPath in JAXP

Given an xml document that looks like the following: <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE properties SYSTEM "http://…

java xml xpath jaxp
Java XPath (Apache JAXP implementation) performance

NOTE: If you experience this issue as well, please upvote it on Apache JIRA: https://issues.apache.org/jira/browse/…

java performance apache xpath jaxp
cvc-complex-type.3.2.2: Attribute xsi:schemaLocation is not allowed to appear in <people> in Java DOM

I am attempting to validate my XML using XSD in Java by using DOM validator. Although, manually, I know that …

java xml dom jaxp saxparseexception
Invalid JAXP API when unmarshaling JAXB

I have a JAXB object I can unmarshal fine. However, if I add a Element[] field annotated with @XmlAnyElement, when …

java jaxb jaxp
Make JAXB go faster

I have a 8 Meg file. Marshalling using JAXB takes 1082ms, using DOM takes 862ms, using SAX takes 438ms. This is …

xml performance jaxb jaxp
How to insert schemalocation in a xml document via DOM

i create a xml document with JAXP and search a way to insert the schemalocation. At the moment my application …

dom xsd jaxp
What is the default TransformerFactory?

I'm using JAXP XSLT APIs (javax.xml.transform) to transform xml file. TransformerFactory transformerFactory = TransformerFactory.newInstance(); Transformer transformer = transformerFactory.newTransformer(…

java xslt jaxp
What's causing these ParseError exceptions when reading off an AWS SQS queue in my Storm cluster

I'm using Storm 0.8.1 to read incoming messages off an Amazon SQS queue and am getting consistent exceptions when doing so: 2013…

java amazon-web-services amazon-sqs apache-storm jaxp