[postgis-tickets] [PostGIS] #5073: Localized docs are broken structurally

PostGIS trac at osgeo.org
Sun Jan 30 15:16:47 PST 2022


#5073: Localized docs are broken structurally
---------------------+---------------------------
  Reporter:  strk    |      Owner:  robe
      Type:  defect  |     Status:  new
  Priority:  medium  |  Milestone:  PostGIS 3.3.0
 Component:  l18n    |    Version:  master
Resolution:          |   Keywords:
---------------------+---------------------------
Description changed by strk:

Old description:

> Running `make -C doc check-localized` shows many errors in multiple
> languages.
>
> Example:
> ```
> make[2]: Entering directory '/home/src/postgis/postgis/doc/po/pt_BR'
> /usr/bin/perl -lpe
> "s'@@LAST_RELEASE_VERSION@@'3.3.0dev'g;s'@@POSTGIS_DOWNLOAD_URL@@'http://postgis.net/stuff'g;"
> postgis.xml > postgis-out.xml
> /usr/bin/xsltproc --novalid --path . xsl/postgis_aggs_mm.xml.xsl postgis-
> out.xml > postgis_aggs_mm.xml
> /usr/bin/xmllint --loaddtd --path . --xinclude --valid postgis-out.xml >
> /dev/null
> reference_management.xml:557: element funcprototype: validity error :
> Element funcprototype content does not follow the DTD, expecting
> (modifier* , funcdef , (void | varargs | (paramdef+ , varargs?)) ,
> modifier*), got (funcprototype funcprototype )
> > </funcprototype>
>                   ^
> ```

New description:

 Running `make -C doc check-localized` shows many errors in multiple
 languages.

 Example:
 {{{
 make[2]: Entering directory '/home/src/postgis/postgis/doc/po/pt_BR'
 /usr/bin/perl -lpe
 "s'@@LAST_RELEASE_VERSION@@'3.3.0dev'g;s'@@POSTGIS_DOWNLOAD_URL@@'http://postgis.net/stuff'g;"
 postgis.xml > postgis-out.xml
 /usr/bin/xsltproc --novalid --path . xsl/postgis_aggs_mm.xml.xsl postgis-
 out.xml > postgis_aggs_mm.xml
 /usr/bin/xmllint --loaddtd --path . --xinclude --valid postgis-out.xml >
 /dev/null
 reference_management.xml:557: element funcprototype: validity error :
 Element funcprototype content does not follow the DTD, expecting
 (modifier* , funcdef , (void | varargs | (paramdef+ , varargs?)) ,
 modifier*), got (funcprototype funcprototype )
 > </funcprototype>
                   ^
 }}}

--

-- 
Ticket URL: <https://trac.osgeo.org/postgis/ticket/5073#comment:1>
PostGIS <http://trac.osgeo.org/postgis/>
The PostGIS Trac is used for bug, enhancement & task tracking, a user and developer wiki, and a view into the subversion code repository of PostGIS project.


More information about the postgis-tickets mailing list