Hi,
I'm using xalan 2.7.1.
My xml stream to be transformed is generated by JaxB, which is
generating his own namespace attribute order.
But this order is not xalan compatible.
Example:
<Transaction xmlns="http://www.av2s.com/xft"
xsi:type="TransactionRequestType"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:type="TransactionRequestType" ...>
....
</Transaction>
I get this error during XSL transformation:
org.apache.crimson.parser/P-084 xsi:type
; Line#: 1; Column#: -1
javax.xml.transform.TransformerException:
org.apache.crimson.parser/P-084 xsi:type
at
org.apache.xalan.transformer.TransformerImpl.fatalError(TransformerImpl.java:742)
I thought crimson project had been retired...
It's seem that the xsi namespace need to be defined as an attribute
before use (xsi:type). Whereas attribute order in XML
specification don't need to be managed.
so, who's wrong (jaxB attribute creation order or xalan XSLT attribute
order reading ?
Best Regards,
Raoul Cridlig
<mailto:raoul.crid...@datasystem.fr><mailto:raoul.crid...@datasystem.fr>