Hi,
I have posted a question to the xerces list regarding to the 
 problem
but
until now there was no response.

So I send it a second time and also to the xalan list. May be you get a
hint for the problem.

Best regards

Thomas

The message:


Hi,
I have observed a different behavior between Xerces 1 and Xerces 2 using a
DOM Parser.
Because I don´t really know wether I am to stupid or wether it is a bug of
Xerces or Xalan I
just start with the Xerces list.

A little Java programm is attached. With the attached doc2.xml as input I
get the result1.xml
with Xerces 1 and Xerces 2.

When I change

Document dom = DomBuilder.parse(new File(xmlSource));

to

Document dom = DomBuilder.parse(new FileInputStream(new File(xmlSource)));

with Xerces 1 I get result1.xml and with Xerces 2 I get result2.xml.

Best regards

Thomas Mäsing




(See attached file: MessageGenerator.java)(See attached file: result1.xml)
(See attached file: result2.xml)

Attachment: =?iso-8859-2?Q?MessageGenerator.java?=
Description: Binary data

Attachment: =?iso-8859-2?Q?result1.xml?=
Description: Binary data

Attachment: =?iso-8859-2?Q?result2.xml?=
Description: Binary data

Reply via email to