dtdparse-trackers
[Top] [All Lists]

[Dtdparse-trackers] [ dtdparse-Bugs-534538 ] enumerated types dropping numeric text

2005-07-16 18:04:44
Bugs item #534538, was opened at 2002-03-24 23:15
Message generated for change (Comment added) made by ehood
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=398999&aid=534538&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: Closed
Resolution: Fixed
Priority: 5
Submitted By: Shamim Islam (kellin)
Assigned to: Nobody/Anonymous (nobody)
Summary: enumerated types dropping numeric text

Initial Comment:
Enumerated attributes are allowed to have numeric data 
in the list of options allowed. These numeric elements 
are valid strings. dtdformat/dtdparse is changing 
(true | false | 1 | 0) to "true false" in the 
attribute element, but leaving it as the complete list 
in the attdecl.

Can you help me with this?

Also, where do I find a list of the options for your 
two programs????

Thanks.

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

>Comment By: Earl Hood (ehood)
Date: 2005-07-16 19:40

Message:
Logged In: YES 
user_id=115552

This fix is part of 2.00 release.  Closing item.

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

Comment By: Earl Hood (ehood)
Date: 2005-06-26 17:41

Message:
Logged In: YES 
user_id=115552

The problem is due to a subtlety in how Perl determines true
and false values in expressions.  The existing code does not
take this into account, hence the "0" cause attlist enumeration
parsing to terminate.

I've commited a fix for DTD.pm into CVS.
(Note: The version CVS also contains other fixes that may
 affect you.)

As for your options questions, I am in the middle of
reorganizing the file layout along with adding documentation.
Things should be better in the next release.  DTDParse
will be installable like any other Perl module/extension.


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

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


-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click