Opened 16 months ago

Last modified 16 months ago

#5436 closed defect

Can't compile master, getting docbook error on address standardizer — at Version 1

Reported by: robe Owned by: strk
Priority: blocker Milestone: PostGIS 3.4.0
Component: build Version: 3.3.x
Keywords: Cc:

Description (last modified by strk)

make[1]: Entering directory '/projects/postgis/postgis-git/doc'
tag=tag_address_standardizer_required; \
/projects/xsltproc/xmllint --xpath "/config/tags/para[@role='$tag']/node()" xsl-config.xml > address_standardizer_required.tag.tmp && \
mv address_standardizer_required.tag.tmp address_standardizer_required.tag
XPath error : Invalid expression
C:/ming64gcc81/msys/config/tags/para[@role='tag_address_standardizer_required']/node()

Change History (1)

comment:1 by strk, 16 months ago

Description: modified (diff)

What version of xmllint do you have ?

This works for me, from the top source dir with libxml version 20913 (xmllint --version):

xmllint --xpath "/config/tags/para[@role='tag_Z_support']" doc/xsl-config.xml 

It returns:

<para role="tag_Z_support">
            <inlinemediaobject conformance="3d">
               <imageobject>
                 <imagedata fileref="images/check.png"/>
               </imageobject>
            </inlinemediaobject>
            This function supports 3d and will not drop the z-index.
        </para>

Maybe we can implement what we need (extracting a tag by an XPath expression) via xsltproc, given we are already using that for other things ?

Note: See TracTickets for help on using tickets.