Reece H. Dunn
Reece H. Dunn
``` [XPTY0004] A sequence of more than one item is not allowed as the first argument of fn:contains() ("italic", "italic") at .../billres-details.xsl:13752:20 ``` This is because `ancestor::*/@reported-display-style` is checking all...
``` [XPTY0004] A sequence of more than one item is not allowed as the first argument of fn:local-name() (, ) at .../billres-details.xsl:18837:55 ``` This is due to the `local-name(parent::*/following-sibling::*) !=...
Fixing the issues described above are enough to make Saxon 9.9 process that XML file. I'm not sure if there are any other errors with other documents. For update 3...
Also note that in XSLT 2.0, the `disable-output-escaping` attribute on `xsl:text` is optional, and is not supported on all XSLT implementations. See https://www.w3.org/TR/xslt20/#err-XTRE1620.
When rendering the `CHED` elements (e.g. the `maintemp1` template on lines 740-749), the stylesheet is using ``. However, the XML (e.g. https://www.federalregister.gov/documents/full_text/xml/2019/11/01/2019-23800.xml, line 2345-2347) can contain: ``` Averageunweighted amount ```...
The table of contents does not get rendered by the stylesheet but is present in the HTML and PDF documents. That is, the `FP` elements in the `EXTRACT` element of...
The following `FP` element template adds the `SOURCE` attribute to the classes so they can be styled correctly: ``` Email: mailto: - - - ``` This results in the `FP...
The `.SUPLINF-HD3` class CSS element is missing a `display:block;` style. This likely applies to other `-HD3` based classes.
The `GPOHEADERS` and `GPOH2HEADERS` ids are generated multiple times, which is invalid -- ids should be unique. Therefore, they should be classes. Specifically, the CSS should be: ``` .GPOHEADERS {font-weight:bold;font-size:9pt;text-align:center;border-left-style:solid;border-right-style:solid;border-width:1px;border-bottom-style:solid;border-top-style:solid;border-width:1px;border-color:black;}...
The headers in the GPO tables do not have leftmost/rightmost borders in both the PDF and HTML versions of the rules. This can be achieved (with the change from `id`...