# BST-TIMEOUT: 900 # section 7 runs five real DocBook XSLT transforms . "$BST_LIB" # xorg-sgml-doctools 1.12 -- the SGML entities and XML/CSS stylesheets the X.Org # documentation set is built against (meta-oe recipes-graphics/xorg-doc). Nine # installed files and no executable code. See xorg-sgml-doctools_%.bbappend for # what the port adds and why. # # --------------------------------------------------------------------------- # WHAT THIS IMAGE CAN ASSERT ABOUT A PACKAGE THAT IS PURE DATA # # Nothing here runs, so a file listing establishes only that the bytes arrived. # Two things make much more than a listing possible, and neither was assumed -- # both were measured before this file was written. # # The first is that this image already carries a COMPLETE DocBook toolchain: # xsltproc (libxslt-bin), xmllint (libxml2-utils), docbook-xsl-stylesheets, # docbook-xml-dtd4, xmlto, and an /etc/xml/catalog that chains to both. So # section 7 does not parse these stylesheets -- it RUNS them, over a DocBook # fixture, and reads what came out. That is the package's entire purpose, and it # is checkable here. # # The second is the CENSUS at $CENSUS, written at do_install by Python's expat # and a text scan. Section 4 re-derives every one of its numbers through # libxml2 -- an implementation sharing no code with expat -- so two unrelated XML # stacks agree, file by file, on the shape of all six documents. # # --------------------------------------------------------------------------- # THE PASS CRITERION SAYS "EACH XML/XSL FILE PARSES", AND THE SET IT NAMES IS # SMALLER THAN THE INSTALL. Two of the nine files are not XML documents at all: # defs.ent is a DTD fragment (a bare run of declarations, no root # element) and xorg.css is CSS. `xmllint --noout` on either exits 1, correctly. # Section 2 pins both as negative controls rather than leaving the exclusion to # read like an oversight -- a suite that quietly skipped them would look the same # as one whose author had not noticed, and the naive reading of the criterion # would have shipped two permanent reds. # # defs.ent is not thereby unchecked: section 3 does the thing a consumer actually # does with it -- pulls it in as an external PARAMETER entity from a probe # document's DOCTYPE and expands the general entities it declares. # # --------------------------------------------------------------------------- # THE ONE INVARIANT THAT IS ABOUT LAYOUT RATHER THAN CONTENT. xorg-xhtml.xsl and # xorg-chunk.xsl declare and write &xorgcss; # into a