[
https://issues.apache.org/jira/browse/XALANJ-2620?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Mukul Gandhi resolved XALANJ-2620.
----------------------------------
Resolution: Invalid
Surprisingly, I don't see this error today. I'm resolving this finding as
Invalid.
> Using non XSLT elements produce no error
> ----------------------------------------
>
> Key: XALANJ-2620
> URL: https://issues.apache.org/jira/browse/XALANJ-2620
> Project: XalanJ2
> Issue Type: Improvement
> Security Level: No security risk; visible to anyone(Ordinary problems in
> Xalan projects. Anybody can view the issue.)
> Components: Xalan-CmdLine
> Affects Versions: 2.7.2
> Reporter: Mukul Gandhi
> Assignee: Steven J. Hathaway
> Priority: Critical
>
> I've tested with following XSLT stylesheet,
> <?xml version="1.0" encoding="UTF-8"?>
> <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
> version="1.0">
>
> <xsl:template1 match="/">
> hello
> </xsl:template1>
>
> </xsl:stylesheet>
> In this stylesheet example, I've used an element name as "xsl:template1".
> Upon running this XSLT transform with Xalan command line, there's no error
> reported that an element xsl:template1 doesn't belong to XSLT namespace and
> the transformation succeeds.
> I think, it'll be good that for such cases, XSLT processor should produce an
> error.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]