dtdparse-trackers
[Top] [All Lists]

[Dtdparse-trackers] [ dtdparse-Support Requests-3305203 ] #FIXED entity ref not expanded in HTML 4.01 DTD

2011-05-20 10:39:49
Support Requests item #3305203, was opened at 2011-05-20 10:39
Message generated for change (Tracker Item Submitted) made by srn3
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=399000&aid=3305203&group_id=30351

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: dtdparse
Group: None
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: Steven R. Newcomb (srn3)
Assigned to: Nobody/Anonymous (nobody)
Summary: #FIXED entity ref not expanded in HTML 4.01 DTD

Initial Comment:
A parameter entity is not being expanded.  The discrepancy is that the output is:

<attribute name="version"
           type="#FIXED"
           value="CDATA"
           default="%HTML.Version;"/>

but it should be:

<attribute name="version"
           type="#FIXED"
           value="CDATA"
           default="-//W3C//DTD HTML 4.01 Transitional//EN"/>

I'm attaching:

html.dtd  -- a vastly truncated version of the HTML 4.01 DTD containing nothing but what's needed to demonstrate the bug

run.txt -- what the run of dtdparse looked like, complete.  As you'll see, curiously, the entity text is correctly expanded.  The expanded version doesn't appear in the default attribute value, though.

sgml.soc -- the catalog file invoked on the command line in the attached 'run' file.  It's very vanilla.

sgml.dcl  -- the sgml declaration referenced in sgml.soc.  It's very vanilla, too.

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=399000&aid=3305203&group_id=30351

------------------------------------------------------------------------------
What Every C/C++ and Fortran developer Should Know!
Read this article and learn how Intel has extended the reach of its 
next-generation tools to help Windows* and Linux* C/C++ and Fortran 
developers boost performance applications - including clusters. 
http://p.sf.net/sfu/intel-dev2devmay