15 jun 2012 kl. 01.03 skrev Lars Vogel:
> Hello,
>
> I wanted to add a background color to my programming listings and
> found an old post from Bob in which he suggested to add the following
> to the customizing layer:
>
> <xsl:attribute-set name="shade.verbatim.properties">
> border-color="thin black ridge"
> background-color="silver"
> </xsl:attribute-set>
>
> If I do this, I get an error:
>
> [xslt] Unknown file:61:9: Fatal Error! Error reported by XML
> parser Cause: org.xml.sax.SAXParseException; lineNumber: 61;
> columnNumber: 9; expected '"' or "'" (found "b")
> [xslt] Failed to process null
>
> BUILD FAILED
> /home/vogella/workspace/docu/de.vogella.publishing/buildpdf.xml:294:
> javax.xml.transform.TransformerConfigurationException: Failed to parse
> stylesheet
>
> Anyone knows what I'm doing incorrect?
>
> Best regards, Lars
>
> --
> Lars
Hi.
Maybe it is the attribute value you have in "border-color"? "thin black ridge" is not a colour. Either you change the attribute to "border" or you change the value to a valid colour value.
/frank