[postgis-tickets] [PostGIS] #5436: Can't compile master, getting docbook error on address standardizer
PostGIS
trac at osgeo.org
Thu Jul 6 05:46:18 PDT 2023
#5436: Can't compile master, getting docbook error on address standardizer
------------------------------------+---------------------------
Reporter: robe | Owner: strk
Type: defect | Status: new
Priority: blocker | Milestone: PostGIS 3.4.0
Component: build/upgrade/install | Version: 3.3.x
Resolution: | Keywords:
------------------------------------+---------------------------
Old description:
> {{{
> 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()
>
> }}}
New description:
{{{
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()
}}}
--
Comment (by strk):
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
?
--
Ticket URL: <https://trac.osgeo.org/postgis/ticket/5436#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