[ https://issues.apache.org/jira/browse/XALANJ-2722?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Mukul Gandhi updated XALANJ-2722: --------------------------------- Priority: Minor (was: Major) Lowering the priority of this defect. > attempt to use XPath 3 expression gives StackOverflowError > ---------------------------------------------------------- > > Key: XALANJ-2722 > URL: https://issues.apache.org/jira/browse/XALANJ-2722 > Project: XalanJ2 > Issue Type: Bug > Security Level: No security risk; visible to anyone(Ordinary problems in > Xalan projects. Anybody can view the issue.) > Components: transformation, Xalan, Xalan-CmdLine > Reporter: Martin Honnen > Assignee: Mukul Gandhi > Priority: Minor > Attachments: distinct-values-name-test1.xsl, > xhtml-elements-sample1.xml > > > This is a bug report on the XSLT 3.0 development branch of XalanJ. > I get an error > {noformat} > (java.lang.StackOverflowError): null > Exception in thread "main" java.lang.RuntimeException > at org.apache.xalan.xslt.Process.doExit(Process.java:1158) > at org.apache.xalan.xslt.Process.main(Process.java:1131){noformat} > when trying to run the following -in and -xsl samples through the command > line of that branch: > XML: > {code:java} > <root> > <p xmlns="http://www.w3.org/1999/xhtml">Paragraph 1.</p> > <html:p xmlns:html="http://www.w3.org/1999/xhtml">Paragraph 2.</html:p> > </root>{code} > XSLT: > > {code:java} > <?xml version="1.0" encoding="utf-8"?> > <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" > version="3.0" > xmlns:xs="http://www.w3.org/2001/XMLSchema" > exclude-result-prefixes="xs"> > <xsl:output method="xml" indent="yes"/> > <xsl:template match="/*"> > <distinct-values-of-name> > <xsl:value-of select="distinct-values(*/name())"/> > </distinct-values-of-name> > </xsl:template> > </xsl:stylesheet> > {code} > > > > > > -- This message was sent by Atlassian Jira (v8.20.10#820010) --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@xalan.apache.org For additional commands, e-mail: dev-h...@xalan.apache.org