xml-xalan-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Elliotte Rusty Harold <elh...@metalab.unc.edu>
Subject Re: ID Transformer problem
Date Tue, 15 Jan 2002 19:56:42 GMT
>---- you Elliotte Rusty Harold <elharo@metalab.unc.edu> wrote ----
>>  There are two problems here:
>>  1. The namespace is lost on the svg element.
>>  2. The DOCTYPE declaration is lost.
>
>OK, I'm thinking this is basically the same as Bugzilla#1121:
>http://nagoya.apache.org/bugzilla/show_bug.cgi?id=1121
>
>In a very condensed nutshell: somehow we're not preserving the DOCTYPE
>when the xml is in a DOMSource.
>

It's entirely possible that's the same bug. We're jsut all running 
innto it from different directions.

>>  However, I think this should be closer to the default behavior of
>>  XMLSerializer where namespace declaration attributes are inserted
>>  automatically in the stream as necessary.
>
>Minor q?: which specific XMLSerializer do you mean here? (Just
>curious).
>

org.apache.xml.serialize.XMLSerializer

http://xml.apache.org/xerces-j/apiDocs/org/apache/xml/serialize/XMLSerializer.html
-- 

+-----------------------+------------------------+-------------------+
| Elliotte Rusty Harold | elharo@metalab.unc.edu | Writer/Programmer |
+-----------------------+------------------------+-------------------+
|          The XML Bible, 2nd Edition (Hungry Minds, 2001)           |
|              http://www.ibiblio.org/xml/books/bible2/              |
|   http://www.amazon.com/exec/obidos/ISBN=0764547607/cafeaulaitA/   |
+----------------------------------+---------------------------------+
|  Read Cafe au Lait for Java News:  http://www.cafeaulait.org/      |
|  Read Cafe con Leche for XML News: http://www.ibiblio.org/xml/     |
+----------------------------------+---------------------------------+

Mime
View raw message