You are viewing a plain text version of this content. The canonical link for it is here.
Posted to j-users@xalan.apache.org by Vl...@bnz.co.nz on 2003/08/12 06:54:53 UTC

Disabling DTM?

Hi,
I have a stylesheet extension that relies on ability to do
getElementsByTagName on an element (not mine, so "don't use it" won't work
for me).
It seems to work ok in some cases (mostly when I do DOM based
transformation),  but when I run it in small app which needs stylesheet
chaining (using XMLFilters & SAX), it dies with a DTMDOMException - which
is quite understandeable as there the Element implementation is
DTMNodeProxy. In the other (working) case the Element is
DefferedElementNSImpl.
So, I'm wondering how the implementation is choosen and whether I can
affect it somehow (so that I can still use XMLFilters).
Thanks,
Vlad

Environment is  (I've deleted the classpath)

#---- BEGIN writeEnvironmentReport($Revision: 1.20 $): Useful stuff found:
----
version.DOM.draftlevel=2.0fd
version.JAXP=1.1 or higher
java.ext.dirs=/opt/j2sdk1.4.1/jre/lib/ext
#---- BEGIN Listing XML-related jars in: foundclasses.sun.boot.class.path
----
xalan.jar-path=/export/home/vender/xalan-j_2_5_1/bin/xalan.jar
xercesImpl.jar-apparent.version=xercesImpl.jar from xalan-j_2_5_0 from
xerces-2_4
xercesImpl.jar-path=/export/home/vender/xalan-j_2_5_1/bin/xercesImpl.jar
xml-apis.jar-apparent.version=xml-apis.jar present-unknown-version
xml-apis.jar-path=/export/home/vender/xalan-j_2_5_1/bin/xml-apis.jar
#----- END Listing XML-related jars in: foundclasses.sun.boot.class.path
-----
version.xerces2=Xerces-J 2.4.0
version.xerces1=not-present
version.xalan2_2=Xalan Java 2.5.1
version.xalan1=not-present
version.ant=not-present
java.version=1.4.1
version.DOM=2.0
version.crimson=present-unknown-version
sun.boot.class.path=/export/home/vender/xalan-j_2_5_1/bin/xalan.jar:/export/home/vender/xalan-j_2_5_1/bin/xercesImpl.jar:/export/home/vender/xalan-j_2_5_1/bin/xml-apis.jar:/opt/j2sdk1.4.1/jre/lib/rt.jar:/opt/j2sdk1.4.1/jre/lib/i18n.jar:/opt/j2sdk1.4.1/jre/lib/sunrsasign.jar:/opt/j2sdk1.4.1/jre/lib/jsse.jar:/opt/j2sdk1.4.1/jre/lib/jce.jar:/opt/j2sdk1.4.1/jre/lib/charsets.jar:/opt/j2sdk1.4.1/jre/classes

#---- BEGIN Listing XML-related jars in: foundclasses.java.class.path ----
xml.jar-apparent.version=xml.jar present-unknown-version
xml.jar-path=/export/home/mwright/work/router/v1.2.0.54/lib/exml.jar
parser.jar-apparent.version=parser.jar present-unknown-version
parser.jar-path=/export/home/mwright/work/router/v1.2.0.54/lib/dtdparser.jar

#----- END Listing XML-related jars in: foundclasses.java.class.path -----
version.SAX=2.0
version.xalan2x=Xalan Java 2.5.1
#----- END writeEnvironmentReport: Useful properties found: -----
# YAHOO! Your environment seems to be OK
The contents of this E-mail may contain information that is legally
privileged and/or contains information confidential to the recipient.  This
information is not to be used by any other person and/or organisation.  The
views in this document do not necessarily reflect those of the Bank of New
Zealand.