You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@xalan.apache.org by sb...@locus.apache.org on 2000/12/09 20:35:18 UTC
cvs commit: xml-xalan/java/src/org/apache/xalan/templates ElemTemplateElement.java
sboag 00/12/09 11:35:18
Modified: java/src/org/apache/xalan/templates ElemTemplateElement.java
Log:
For namespace alias, use the styelsheet prefix instead of the result
prefix, as per XSL WG decision.
Revision Changes Path
1.31 +2 -1 xml-xalan/java/src/org/apache/xalan/templates/ElemTemplateElement.java
Index: ElemTemplateElement.java
===================================================================
RCS file: /home/cvs/xml-xalan/java/src/org/apache/xalan/templates/ElemTemplateElement.java,v
retrieving revision 1.30
retrieving revision 1.31
diff -u -r1.30 -r1.31
--- ElemTemplateElement.java 2000/12/07 00:59:36 1.30
+++ ElemTemplateElement.java 2000/12/09 19:35:18 1.31
@@ -859,7 +859,8 @@
// The exclusion should apply to the non-aliased prefix, so
// we don't calculate it here. -sb
- decl = new XMLNSDecl(nsAlias.getResultPrefix(),
+ // Use stylesheet prefix, as per xsl WG
+ decl = new XMLNSDecl(nsAlias.getStylesheetPrefix(),
nsAlias.getResultNamespace(), shouldExclude);
}
else