[ http://issues.apache.org/jira/browse/XALANJ-1264?page=all ]
Brian Minchau updated XALANJ-1264:
----------------------------------
Version: 2.5
(was: Latest Development Code)
> Xalan hangs forever given this input
> ------------------------------------
>
> Key: XALANJ-1264
> URL: http://issues.apache.org/jira/browse/XALANJ-1264
> Project: XalanJ2
> Type: Bug
> Components: Xalan
> Versions: 2.5
> Environment: Operating System: All
> Platform: All
> Reporter: Ron Newman
> Assignee: Xalan Developers Mailing List
> Attachments: hang.xsl
>
> If you run
> java org.apache.xalan.xslt.Process -in
> http://xml.house.gov/Members/mbr107.xml -xsl
> hang.xsl
> it prints the following, then hangs forever:
> <?xml version="1.0" encoding="UTF-8"?>
> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
> "http://www.w3.org/
> TR/html4/strict. dtd">
> <html>
> <head>
> <title>One Hundred Seventh Congress,
> Jeff Trandahl, Clerk of the House of Representatives,
> July 24, 2002</title>
> <link rel="stylesheet" type="text/css"
> href="http://cscie153.dce.harvard.edu/css/congress
> .css" />
> </head>
> <body>
> <h1>One Hundred Seventh Congress,
> Here is hang.xsl :
> <?xml version="1.0"?>
> <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
> version="1.0">
> <xsl:output method="xml"
> doctype-public="-//W3C//DTD XHTML 1.0 Transitional//EN"
> doctype-system="http://www.w3.org/TR/html4/strict. dtd"
> indent="yes" />
> <xsl:template match="/">
> <html>
> <head>
> <title>
> <xsl:value-of select="/ushousemembers/metadata/congress" />,
> <xsl:value-of select="/ushousemembers/metadata/compiler" />,
> <xsl:value-of select="/ushousemembers/metadata/date" />
> </title>
> <link href="http://cscie153.dce.harvard.edu/css/congress .css"
> type="text/css" rel=
> "stylesheet" />
> </head>
> <body>
> <h1>
> <xsl:value-of select="/ushousemembers/metadata/congress" />,
> <xsl:value-of select="/ushousemembers/metadata/date" />
> </h1>
> <xsl:apply-templates
> select="//member[not(//following-sibling::member/child ::state =
> child::state)]" >
> </xsl:apply-templates>
> </body>
> </html>
> </xsl:template>
> <xsl:template match="member">
> [<xsl:value-of select="child::state" />]<br />
> </xsl:template>
> </xsl:stylesheet>
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]