E
Elhanan
hi..
i've been trying to use xalan for transformations and and xercest for
parsing xml.
i got my transformation to work.
when i first tried xerces 2.5.0 i got
java.lang.NoSuchMethodError:
javax.xml.parsers.DocumentBuilderFactory.getSchema()Ljavax/xml/validation/Schema;
i've read that it uses jaxp-api and not java's own xml interface, and i
saw that you needed to set -Djava.endorsed.dirs to a lib that had
jaxp-api in it, so i did that, and added dom, and xalan jars
(otherwise i would get problems with xpath, and dom).
but now my transformations fell apart with an error of:
ERROR: 'An attribute whose value must be a QName had the value '''
(but it worked before!!!!)
(so that's going on?)
i've been trying to use xalan for transformations and and xercest for
parsing xml.
i got my transformation to work.
when i first tried xerces 2.5.0 i got
java.lang.NoSuchMethodError:
javax.xml.parsers.DocumentBuilderFactory.getSchema()Ljavax/xml/validation/Schema;
i've read that it uses jaxp-api and not java's own xml interface, and i
saw that you needed to set -Djava.endorsed.dirs to a lib that had
jaxp-api in it, so i did that, and added dom, and xalan jars
(otherwise i would get problems with xpath, and dom).
but now my transformations fell apart with an error of:
ERROR: 'An attribute whose value must be a QName had the value '''
(but it worked before!!!!)
(so that's going on?)