[XSLT2.0] IBM-XSLT-122: Errors for result document URI conflicts

[With apologies that these comments are coming in after the end of the 
Last Call comment period.]

Section 19.1

Error XT1490 indicates that it is a non-recoverable dynamic error for two 
or more result trees to have the same URI.  However, there could be other 
illegal combinations that should be considered dynamic errors, though 
there might be no way for an implementation to report the error or to 
recover in any useful fashion. For instance, if distinct URI's specified 
on different xsl:result-document instructions refer to the same physical 
resource.

Similarly, if xsl:result-document specifies a particular URI, and a 
reference to fn:doc actually identifies the same resource created by the 
xsl:result-document instruction, a dynamic error should result, though an 
implementation might not be able to detect it. 

<xsl:result-document href="file:///example">
  <xsl:copy-of select="fn:doc('file:///example')"/>
</xsl:result-document>

Thanks,

Henry
[Speaking on behalf of reviewers from IBM.]
------------------------------------------------------------------
Henry Zongaro      Xalan development
IBM SWS Toronto Lab   T/L 969-6044;  Phone +1 905 413-6044
mailto:zongaro@ca.ibm.com

Received on Thursday, 19 February 2004 11:53:55 UTC