jaxp

Which are the Java JAXP XPath implementations available?

Which are the Java JAXP XPath implementations available? The default implementation, Xalan (shipped with the JVM), is very slow to evaluate XPath expressions, so, I'm looking for a faster implementation. ...

Transformer's transform causes a fatal error, why?

I've built a document using JAXP like this: DocumentBuilderFactory factory = DocumentBuilderFactory.newInstance(); DocumentBuilder builder = factory.newDocumentBuilder(); Document document = builder.newDocument(); Element rootElement = document.createElement("Root"); for (MyObject o : myCollection) { Element entry = document.create...

JSF 2.0 and TransformerFactory

Hi, I'm going to use Saxon-B 9 in my JSF 2.0 project. But after adding dependency to Saxon & Saxon-dom exceptions began to appear at startup: Sep 25, 2010 6:05:45 PM com.google.apphosting.utils.jetty.JettyLogger info INFO: Logging to JettyLogger(null) via com.google.apphosting.utils.jetty.JettyLogger Sep 25, 2010 6:05:45 PM...

I18n of XSD validation error messages in Java

I perform XSD XML validation using the following classes: import javax.xml.validation.Schema; import javax.xml.validation.SchemaFactory; import javax.xml.validation.Validator; The problem is that XSD error messages returned by validator are always in English language. Is it possible to call locale-aware validation with JAXP API? ...