DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=14126>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=14126

Xalan hangs forever given this input

           Summary: Xalan hangs forever given this input
           Product: XalanJ2
           Version: 2.4
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: Major
          Priority: Other
         Component: Xalan
        AssignedTo: [EMAIL PROTECTED]
        ReportedBy: [EMAIL PROTECTED]


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>

Reply via email to