Skip to main content
ExLibris
  • Subscribe by RSS
  • Ex Libris Knowledge Center

    iphone browser error viewing bor-lis.xml output

    • Article Type: General
    • Product: Aleph
    • Product Version: 19.01

    Description:
    Problem Description: Incorrectly formed HTML causing errors – the align tag is empty

    Actual Results: bor-lis.xml outputs:
    <TABLE WIDTH="100%" BORDER="1" style="font-family=Arial Unicode MS; font-size=9pt" align=""/>
    and results in the following error message in some browsers
    This page contains the following errors:
    error on line 3 at column 1: Extra content at the end of the document
    Below is a rendering of the page up to the first error.

    Expected Results: bor-lis.xml outputs:
    <TABLE WIDTH="100%" BORDER="1" style="font-family=Arial Unicode MS; font-size=9pt" align="center"/>

    Resolution:
    The iphone isn't a supported browser, however, we have a suggestion for you to try. The problem seems to be that the iphone browser doesn't like:
    align=""

    In funcs-table.xsl replace (line 50):
    <xsl:attribute name="align"><xsl:value-of select="$align"/></xsl:attribute>
    with:
    <xsl:attribute name="align">
    <xsl:choose>
    <xsl:when test = "$align != ''">
    <xsl:value-of select="$align"/>
    </xsl:when>
    <xsl:otherwise>left</xsl:otherwise>
    </xsl:choose>
    </xsl:attribute>

    Additionally it appears the iphone browser doesn't like the tilde preceeding the name.


    • Article last edited: 10/8/2013
    • Was this article helpful?