Skip to content

error: element "meta" not allowed anywhere #52

@KucharczykL

Description

@KucharczykL

This error started happening when using the locally installed toolchain (including in OBS 1), it doesn't happen when building via container, either directly (registry.opensuse.org/documentation/containers/15.6/opensuse-daps-toolchain:latest - hash 34c54e2fe646) or via GitHub Actions.

The error is caused by the inclusion of <meta> tags in docinfo.xml, for example:

<meta name="series">Release Notes</meta>
<meta name="maintainer" content="{maintainer}"/>
<meta name="productname">
<productname version="{this-version}">{productname}</productname>
</meta>
<meta name="description">Latest information about new and deprecated features, improvements, and known-issues</meta>
<meta name="social-descr">New and deprecated features, improvements, known-issues</meta>

The differences between environments:

local (up-to-date Tumbleweed)

DAPS VERSION: 3.3.2

             DOC_DIR: /home/lukas/work/git/release-notes
           BUILD_DIR: /home/lukas/work/git/release-notes/build
            DAPSROOT: /usr/share/daps
             DOCCONF: /home/lukas/work/git/release-notes/DC-releasenotes_sles_16.0
                BOOK: releasenotes_sles_16.0


     DOCBOOK_VERSION: 5
        DOCBOOK5_RNG: /usr/share/xml/docbook/schema/rng/5.1/docbookxi.rng
        DBSTYLE_VERS: snapshot

           STYLEROOT: /usr/share/xml/docbook/stylesheet/suse2022-ns
      STYLEROOT_VERS: '2.95.29'
  FALLBACK_STYLEROOT: /usr/share/xml/docbook/stylesheet/nwalsh5/current
   FB_STYLEROOT_VERS: Not available
            EPUB_CSS: 
            HTML_CSS: 

       PDF FORMATTER: fop
   FORMATTER VERSION: FOP Version 2.10
   FORMATTER WRAPPER: /usr/share/daps/libexec/daps-fop
    FORMATTER CONFIG: 

            MAKE_CMD: /usr/bin/make -f /usr/share/daps/make/selector.mk -j4 -s html 
       XSLTPROCESSOR: /usr/bin/xsltproc
   XML_CATALOG_FILES: /etc/xml/catalog

---------------

Container


        DAPS VERSION: 4.0.beta12

                BOOK: releasenotes_sles_16.0
                MAIN: /docs/build/.adoc/releasenotes_sles_16.0.xml
           BUILD_DIR: /docs/build
            DAPSROOT: /usr/share/daps
             DOCCONF: /docs/DC-releasenotes_sles_16.0
             PRJ_DIR: /docs
             SRC_DIR: /docs/build/.adoc
         IMG_SRC_DIR: 


     DOCBOOK_VERSION: 5
        DOCBOOK5_RNG: /usr/share/xml/geekodoc/rng/2_5.2/geekodoc-v2-flat.rng
        DBSTYLE_VERS: snapshot

           STYLEROOT: /usr/share/xml/docbook/stylesheet/suse2022-ns
      STYLEROOT_VERS: '2.95.29'
  FALLBACK_STYLEROOT: /usr/share/xml/docbook/stylesheet/nwalsh5/current
   FB_STYLEROOT_VERS: Not available
            EPUB_CSS: 
            HTML_CSS: 

       PDF FORMATTER: fop
   FORMATTER VERSION: FOP Version 2.8
   FORMATTER WRAPPER: /usr/share/daps/libexec/daps-fop
    FORMATTER CONFIG: /etc/daps/fop/fop-daps.xml

            MAKE_CMD: /usr/bin/make -f /usr/share/daps/make/selector.mk -j16 -s --always-make html 
       XSLTPROCESSOR: /usr/bin/xsltproc
   XML_CATALOG_FILES: /etc/xml/catalog

Footnotes

  1. https://build.suse.de/package/live_build_log/SUSE:Maintenance:REQUEST:402383/release-notes-sles-for-sap.SUSE_SLE-15-SP7_Update/SUSE_SLE-15-SP7_Update/x86_64

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions