You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@xalan.apache.org by bu...@apache.org on 2002/05/16 21:19:32 UTC
DO NOT REPLY [Bug 9174] New: -
xsltc should use built-ins when no imported template exists
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=9174>.
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=9174
xsltc should use built-ins when no imported template exists
Summary: xsltc should use built-ins when no imported template
exists
Product: XalanJ2
Version: CurrentCVS
Platform: All
OS/Version: All
Status: NEW
Severity: Normal
Priority: Other
Component: org.apache.xalan.xsltc
AssignedTo: xalan-dev@xml.apache.org
ReportedBy: tom.amiro@sun.com
Saxon and Xalan use the default built-in templates when an
apply-imports is invoked on a current node and there is no
imported template that matches. XSLTC doesn't use the built-ins,
so in effect does nothing. This was correct according to the
letter of the 1.0 XSLT spec.
A long time ago we around an around on this (see bug 1397).
The 1.0 spec was quiet on this point (about what apply-imports should
do if there iare no imported templates to use), but the
2.0 spec is going to clearly state that you should use
the built-ins in that case.
Since Saxon and Xalan already do it that way, it would
be counterproductive to have Xalan change to be like
XSLTC and then have both change when the 2.0 spec
comes out. So I'm changing my tune and saying XSLTC
should use the built-ins. The following conf tests should pass
when this change is made: impincl05, impincl07, impincl18, and impincl20.