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:  None Priority:  5 - Normal
Severity:  4 - Important Status:  None
Privacy:  Public Assigned to:  None
Open/Closed:  Open Operating 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 Files:

No files currently attached


Depends on the following items: None found

Items that depend on this one: None found


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

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

    Only logged-in users can vote.




    Follow 3 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2007-08-15 evanchsa Carbon-Copy- => Added ydirson
        Carbon-Copy- => Added ehood
        Carbon-Copy- => Added evanchsa

    Back to the top

    Powered by Savane 3.5