Opened 13 years ago

Closed 13 years ago

#1511 closed defect (fixed)

Duplicate named case-insensitive XML refentry ids / HTML files

Reported by: mwtoews Owned by: robe
Priority: medium Milestone: PostGIS 2.0.0
Component: documentation Version: master
Keywords: Cc:

Description

From postgis-2.0.0alpha3SVN.tar.gz, in doc/html there two extra case sensitive files:

  • box2d.html
  • Box2D.html
  • box3d.html
  • Box3D.html

Change History (3)

comment:1 by mwtoews, 13 years ago

Summary: Duplicate HTML files in 2.0.0alpha3SVN.tar.gzDuplicate named case-insensitive XML refentry ids / HTML files
Version: 2.0.xtrunk

Ok, I did some more digging, and found out what is going on. From a case-sensitive perspective, there is nothing wrong. Here is the structure of documentation of the culprit types:

  • reference_misc.xml - functions
    • <refentry id="Box2D">
    • <refentry id="Box3D">
  • reference_type.xml - types
    • <refentry id="box2d">
    • <refentry id="box3d">

Although these are distinct file names for most (all?) POSIX systems, they are not for Microsoft Windows, where PostGIS is supported. Thus, a Windows user that downloads the tar.gz source cannot view the HTML documentation for, e.g., both box2d types and the Box2D function.

Fortunately, the Refractions webserver provides the correct case-sensitive documents:

comment:2 by pramsey, 13 years ago

Looks like box2d and box3d are the only instances…

cd doc
grep "<refentry id=" *.xml | tr -d "\t" | tr -d " " | tr A-Z a-z | cut -f2 -d: | sort | uniq -c | sort -g

comment:3 by pramsey, 13 years ago

Resolution: fixed
Status: newclosed

Fixed at r9045

Note: See TracTickets for help on using tickets.