This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
Re: mystery #2: testing document() without failure
- From: Gary Lawrence Murphy <garym at canada dot com>
- To: xsl-list at lists dot mulberrytech dot com
- Date: 13 Apr 2002 12:12:18 -0400
- Subject: Re: [xsl] mystery #2: testing document() without failure
- Organization: TCI Business Innovation through Open Source Computing
- References: <002101c1e300$5a496870$6501a8c0@pcukmka>
- Reply-to: xsl-list at lists dot mulberrytech dot com
>>>>> "M" == Michael Kay <michael.h.kay@ntlworld.com> writes:
M> Yes, it's explicitly implementation-defined what happens when
M> the document referred to by the document() function doesn't
M> exist. Either you get an error, or you get an empty node-set.
Or, as in the Xalan case, you get both for no extra charge ;)
--
Gary Lawrence Murphy <garym@teledyn.com> TeleDynamics Communications Inc
Business Innovations Through Open Source Systems: http://www.teledyn.com
"Computers are useless. They can only give you answers."(Pablo Picasso)
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list