xml-xalan-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Brian Minchau (JIRA)" <xalan-...@xml.apache.org>
Subject [jira] Commented: (XALANJ-2051) XML Serializer serializes some DTD information, but not all
Date Tue, 01 Feb 2005 17:02:20 GMT
     [ http://issues.apache.org/jira/browse/XALANJ-2051?page=comments#action_58413 ]
     
Brian Minchau commented on XALANJ-2051:
---------------------------------------

If you run copy21.xml through the identity transform:
<?xml version="1.0" standalone="no" ?>
<!DOCTYPE test [
  <!ELEMENT test (extEnt)>
  <!ELEMENT extEnt (sub2)> 
  <!ATTLIST extEnt attr CDATA #REQUIRED>
  <!ELEMENT sub2 (#PCDATA)> 
  <!ENTITY extEnt SYSTEM "ent21.xml">
  ]>

<test>&extEnt;</test>

Some of the DOCTYPE information is lost, but with the fix the information is retained.


> XML Serializer serializes some DTD information, but not all
> -----------------------------------------------------------
>
>          Key: XALANJ-2051
>          URL: http://issues.apache.org/jira/browse/XALANJ-2051
>      Project: XalanJ2
>         Type: Bug
>     Reporter: Brian Minchau
>  Attachments: ToStream-patch.txt
>
> It may be questionable about why the XML serializer serializes DTD events, but it does.
> However it is inconsistent in which DTD information it serializes, and which information
it looses.
> When simply taking an XML document as input and serializing it to an XML document (round
tripping) it would be better if the full support was there, rather than partial support as
it is now.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira


---------------------------------------------------------------------
To unsubscribe, e-mail: xalan-dev-unsubscribe@xml.apache.org
For additional commands, e-mail: xalan-dev-help@xml.apache.org


Mime
View raw message