helpperlSGML - Support: sr #105970, dtdtree documentation does not...


sr #105970: dtdtree documentation does not match up with source code

Submitted by:  Stephen Evanchik <evanchsa>
Submitted on:  Wed 15 Aug 2007 09:20:12 PM UTC  
Category: NonePriority: 5 - Normal
Severity: 4 - ImportantStatus: None
Privacy: PublicAssigned to: None
Open/Closed: OpenOperating System: GNU/Linux

Add a New Comment(Rich Markup)

You are not logged in

Please log in, so followups can be emailed to you.


Wed 15 Aug 2007 09:20:12 PM UTC, original submission:

dtdtree documentation says that the catalog file will search the current directory for system_ids with relative filenames. The code does not do that, instead it always fully qualifies it by the fact that $dirname will be empty in the case of "./catalog" instead of "."

Here's the patch that I used, probably would be better to fix the regex:

--- 2007-08-15 17:09:37.000000000 -0400
+++ 2007-08-15 17:09:56.000000000 -0400
@@ -811,7 +811,7 @@

## Extract path to be able to resolve relative sysid's
$filename =~ m%^(/.+)/[^/]+$%;
- my $dirname = $1;
+ my $dirname = $1 || '.';

if (!$tmp) {
&errMsg("Warning: Unable to open entity map file: $filename\n");

Stephen Evanchik <evanchsa>


(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach File(s):

No files currently attached


Depends on the following items: None found

Items that depend on this one: None found


Carbon-Copy List
  • -unavailable- added by evanchsa (Submitted the item)

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.


    Please enter the title of George Orwell's famous dystopian book (it's a date):



    Follow 3 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Wed 15 Aug 2007 09:20:12 PM UTCevanchsaCarbon-Copy-=>Added ydirson
      Carbon-Copy-=>Added ehood
      Carbon-Copy-=>Added evanchsa

    Back to the top

    Powered by Savane 3.1-cleanup1