[ http://issues.apache.org/jira/browse/XALANJ-1997?page=comments#action_12360347 ]
Jess Sightler commented on XALANJ-1997: --------------------------------------- Yes, this broke quite a few stylesheets here as well... Having said that, the new behaviour is the correct one. It should throw an exception in these cases. > exclude-result-prefixes namespace fixup issue? > ---------------------------------------------- > > Key: XALANJ-1997 > URL: http://issues.apache.org/jira/browse/XALANJ-1997 > Project: XalanJ2 > Type: Bug > Components: Xalan > Versions: 2.6 > Environment: linux jdk4.x jdk5.x not tested but expect windows would have > same issue. > Reporter: Jason Eacott > Priority: Minor > Fix For: 2.7 > > trying to parse something like this: > <xsl:stylesheet version="1.0" > xmlns:xsl="http://www.w3.org/1999/XSL/Transform" > exclude-result-prefixes="breakme"> > will throw an > org.xml.sax.SAXException: Can not resolve namespace prefix: breakme > this behavious is new with the latest release of Xalan (possibly some > previous versions too) > as I understand the w3c spec (and I may well have this wrong) > this namespace should be automatically "fixed up" in this situation. -- 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]
