Parsed Entities

Scooter Support <[email protected]> Mon, 18 Oct 2010 17:46:27 -0500
Newsgroups gmane.comp.web.html-tidy.user
Message-ID <[email protected]>
Tidy does not seem to handle xml's parsed entity feature. In the 
attached file, there is an entity called "ent" that is defined on line 2 
and used on line 4. The text "&ent;" is converted to "&amp;ent;". 
Instead, it should be converted to its value ("entval") or left as it 
was ("&ent;").

Version:
HTML Tidy for Windows released on 15 August 2007

Command Line:
HtmlTidy.exe -config Config.txt -wrap 0 -o %2 %1

Config.txt contents:
char-encoding: raw
indent-attributes: yes
indent: auto
input-xml: yes
literal-attributes: yes
output-xml: yes
quiet: yes
quote-marks: yes
tidy-mark: no

Regards,
Erik
Scooter Software
UserEntity.xml (text/xml, 114 B)
<?xml version="1.0"?>
<!DOCTYPE sample [<!ENTITY ent "entval">]>
<sample>
  <item name="1">&ent;</item>
</sample>