[prev in list] [next in list] [prev in thread] [next in thread]
List: xerces-j-dev
Subject: Neko DOMParser - namespace issue ?
From: "Afshartous, Nick" <nick.afshartous () proactcorp ! com>
Date: 2003-05-31 0:27:24
[Download RAW message or body]
I did some experiments by creating a small XML input file
and stylsheet and here's what I've found. The transform rules
are applied successfully in the following cases
- xalan command line
- calling xalan from Java using DocumentBuilder to create DOM input for
transform
- calling xalan from Java using Tidy to create DOM input for transform
However, the transform rules are not applied when I used the Neko DOMParser
to create the DOM for the transform input. In this case the default
transform
rule (emit text) is applied which results in a Hierchy Exception.
If anyone knows why the DOM returned by Neko would be different
please let me know, thanks.
--
Nick
[Attachment #3 (text/html)]
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
<META NAME="Generator" CONTENT="MS Exchange Server version 5.5.2653.12">
<TITLE>Neko DOMParser - namespace issue ?</TITLE>
</HEAD>
<BODY>
<BR>
<BR>
<P><FONT SIZE=2 FACE="Courier New">I did some experiments by creating a small XML \
input file</FONT> <BR><FONT SIZE=2 FACE="Courier New">and stylsheet and here's what \
I've found. The transform rules</FONT> <BR><FONT SIZE=2 FACE="Courier New">are \
applied successfully in the following cases</FONT> </P>
<P><FONT SIZE=2 FACE="Courier New"> - xalan command line</FONT>
<BR><FONT SIZE=2 FACE="Courier New"> - calling xalan from Java using \
DocumentBuilder to create DOM input for transform</FONT> <BR><FONT SIZE=2 \
FACE="Courier New"> - calling xalan from Java using Tidy to create DOM input \
for transform</FONT> </P>
<P><FONT SIZE=2 FACE="Courier New">However, the transform rules are not applied when \
I used the Neko DOMParser</FONT> <BR><FONT SIZE=2 FACE="Courier New">to create the \
DOM for the transform input. In this case the default transform</FONT> \
<BR><FONT SIZE=2 FACE="Courier New">rule (emit text) is applied which results in a \
Hierchy Exception. </FONT> </P>
<P><FONT SIZE=2 FACE="Courier New">If anyone knows why the DOM returned by Neko would \
be different</FONT> <BR><FONT SIZE=2 FACE="Courier New">please let me know, \
thanks.</FONT> <BR><FONT SIZE=2 FACE="Courier New"> \
</FONT> <BR><FONT SIZE=2 FACE="Courier New">--</FONT>
<BR><FONT SIZE=2 FACE="Courier New"> Nick</FONT>
</P>
<BR>
</BODY>
</HTML>
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic