DTD#printExternal in xml4j 1.1.4

Thuy-Linh Nguyen tln at insect.sd.monash.edu.au
Wed Oct 28 11:07:56 GMT 1998


Hi,

I tried the DTD#printExternal for the HTML40strict.xml.dtd with default
encoding. Something weird seems to happen. For eg the original declaration 

<!ENTITY quot "&#34;">
<!ENTITY amp  "&#38;">
<!ENTITY lt   "&#60;">
<!ENTITY gt   "&#62;">

is changed to 

<!ENTITY quot "&#x22;">
<!ENTITY amp "&#x26;">
<!ENTITY lt "<">
<!ENTITY gt ">">


And 

<!ENTITY % coreattrs
 "id          ID             #IMPLIED
  class       CDATA          #IMPLIED
  style       %StyleSheet;   #IMPLIED
  title       %Text;         #IMPLIED"
  >

is changed to 

<!ENTITY % coreattrs "id          ID             #IMPL
IED&#xa;  class       CDATA          #IMPLIED&#xa;  st
yle       CDATA   #IMPLIED&#xa;  title       CDATA    
     #IMPLIED">

etc. 

I also noticed similar changes also happened with version 1.0.4,
although the changes appear differently. Why is that ?

Thank you !
TL



xml-dev: A list for W3C XML Developers. To post, mailto:xml-dev at ic.ac.uk
Archived as: http://www.lists.ic.ac.uk/hypermail/xml-dev/
To (un)subscribe, mailto:majordomo at ic.ac.uk the following message;
(un)subscribe xml-dev
To subscribe to the digests, mailto:majordomo at ic.ac.uk the following message;
subscribe xml-dev-digest
List coordinator, Henry Rzepa (mailto:rzepa at ic.ac.uk)




More information about the Xml-dev mailing list