But in JAXP 1.1 (JSR-63), XML transformation was introduced using XSL-T.
XMLError Reporter.report Error(Unknown Source) at org.apache. XMLError Reporter.report Error(Unknown Source) at org.apache. XMLScanner.report Fatal Error(Unknown Source) at org.apache. XMLDocument Scanner Impl$Prolog Dispatcher.dispatch(Unknown Source) at org.apache. SOAPEnvelope(Message.java:435) at org.axis.security. WSDo All Receiver.invoke(WSDo All Receiver.java:114) at org.strategies. Simple Chain.invoke(Simple Chain.java:83) at org.client. Axis Client.invoke(Axis Client.java:198) at org.client. Added: Is that dash in front of your prolog part of the document?When using this XML Schema to validate the input XML document, the following error gets reported: ) as defined below has been used in the code examples to validate the input document. SAXParse Exception: Content is not allowed in prolog. Error Handler Wrapper.create SAXParse Exception(Unknown Source) at org.apache. allowed before the XML declaration can be treated as whitespace if the document is handed as a stream of characters to an XML parser rather than as a stream of bytes.Developers can write program independent of the underlying XML processor by using the JAXP APIs, and can replace the underlying XML processor by choice without even changing a single line of application code. First of all, there has been some confusion in the past about the P in JAXP: Parsing or Processing?Because JAXP 1.0 supported only parsing, therefore, it was called Java API for XML Parsing.Sun Microsystems Inc., at that time had just formalized the Java Community Process (JCP), and the first version of JAXP (JSR-05) was made public in early 2000, supported by industry majors like (in chronological order) BEA Systems, Fujitsu Limited, Hewlett-Packard, IBM, Netscape Communications, Oracle, and Sun Microsystems, Inc.JAXP 1.0, then called Java API for XML Parsing, was a box office hit in the developer community, because of the pluggability layer provided by JAXP; that's what the essence of JAXP is.Namespaces have been introduced to XML after the first specification of XML had received the official W3C Recommendation status.This is the reason why (most of the) XML parser implementations do not support XML Namespaces by default, to handle the validation of XML documents with namespaces correctly it is therefore necessary to configure the underlying parsers to provide support for XML Namespaces.So, JAXP is a lightweight API to process XML documents by being agnostic of the underlying XML processor, which are pluggable.If I set Validating( true ), is there a way to have this validate against a schema instead of requiring a DTD defined in a DOCTYPE header?