dtdparse-trackers
[Top] [All Lists]

[Dtdparse-trackers] [ dtdparse-Bugs-1455832 ] Bug in parse_entity/parse_attrlist/next_token?

2006-05-27 12:01:05
Bugs item #1455832, was opened at 2006-03-21 20:51
Message generated for change (Settings changed) made by ehood
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=398999&aid=1455832&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: None
Group: None
Status: Open
Resolution: None
Priority: 5
Submitted By: Nick (nraphael1999)
Assigned to: Nobody/Anonymous (nobody)
Summary: Bug in parse_entity/parse_attrlist/next_token?

Initial Comment:
dtdflatten, and by extension, dtdparse, seems unable to
parse the results of this declaration in the Mathml2 DTD:

<!ENTITY % MATHML.xmlns.attrib
     "xmlns:%MATHML.prefix;  CDATA   #FIXED
'%MATHML.xmlns;'
      %MATHML.xmlns.extra.attrib;"
>

Specifically, it seems to run into trouble when parsing
Mathml.Common.attrib in the declaration of the pactions
entity, in mathml2.dtd. And so, it cannot pick up the
declaration of PresInCont, and so the final flattening
fails.

It is possible of course that I have set some of the
flags wrong for all the marked sectios: the logic is
"torturous".

But the failure does not occur with dtdparse 2.0 beta 6.

I have tried to find the "bug" myself, I can;t spend
anymore time on it. All I know is that the parse
becomes quite confused. Here is the debug output.

(I can't post my entire DTD, for privacy reasons.)



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

Comment By: Earl Hood (ehood)
Date: 2006-05-27 13:55

Message:
Logged In: YES 
user_id=115552

Can you create an example DTD that duplicates the
problem?

Or, if you are allowed, you can send your DTD to my
personal address: earl AT earlhood DOT com.


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

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


-------------------------------------------------------
All the advantages of Linux Managed Hosting--Without the Cost and Risk!
Fully trained technicians. The highest number of Red Hat certifications in
the hosting industry. Fanatical Support. Click to learn more
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=107521&bid=248729&dat=121642