Changes between Initial Version and Version 1 of Ticket #5532


Ignore:
Timestamp:
09/12/23 15:47:26 (17 months ago)
Author:
strk
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #5532

    • Property Summary Validate postgis manual using XSD and RELAXNG schemasImprove validation of PostGIS Manual docbook
  • Ticket #5532 – Description

    initial v1  
    1 In addition (or instead of) using the DTD,
    2 xmllint supports these switches:
     1In addition (or instead of) using the DTD, we could use XMLSchema, RelaxNG and maybe Schematron. xmllint supports these switches:
    32
    43 --schema http://docbook.org/xml/5.0/xsd/docbook.xsd
     
    1312}}}
    1413
     14I also seem to have a Schematron file, but when I try to use it I get an error:
     15{{{
     16$ xmllint --noout --nonet --schematron /usr/share/xml/docbook/schema/schematron/5.0/docbook.sch postgis-out.xml
     17/usr/share/xml/docbook/schema/schematron/5.0/docbook.sch:6: element rule: Schemas parser error : Failed to compile context expression db:firstterm[@linkend]
     18/usr/share/xml/docbook/schema/schematron/5.0/docbook.sch:16: element rule: Schemas parser error : Failed to compile context expression db:glossterm[@linkend]
     19/usr/share/xml/docbook/schema/schematron/5.0/docbook.sch:26: element rule: Schemas parser error : Failed to compile context expression db:glosssee[@otherterm]
     20/usr/share/xml/docbook/schema/schematron/5.0/docbook.sch:31: element rule: Schemas parser error : Failed to compile context expression db:glossseealso[@otherterm]
     21Schematron schema /usr/share/xml/docbook/schema/schematron/5.0/docbook.sch failed to compile
     22
     23}}}