W3C home > Mailing lists > Public > public-xml-processing-model-comments@w3.org > February 2008

RE: insert and matching nothing

From: <Toman_Vojtech@emc.com>
Date: Wed, 6 Feb 2008 07:37:19 -0500
Message-ID: <6E216CCE0679B5489A61125D0EFEC78709B4714B@CORPUSMX10A.corp.emc.com>
To: <public-xml-processing-model-comments@w3.org>

> in section 7.1.11 p:insert
> 
> it states
> ----------------------------
> 
> The value of the match option must be an XSLTMatchPattern. It 
> is a dynamic error (err:XC0023) if that pattern matches 
> anything other than element nodes. Multiple matches are 
> allowed, in which case multiple copies of the insertion 
> document will occur.
> 
> -----------------------------
> 
> we might want to tighten things ups, e.g. what happens when 
> we match nothing ? is this an error ?
> 
> cheers, Jim Fuller
> 

My understanding was that the source document is left untouched in this
case.

Regards,
Vojtech

--

Vojtech Toman
Principal Software Engineer
EMC Corporation

Aert van Nesstraat 45
3012 CA Rotterdam
The Netherlands

Toman_Vojtech@emc.com  
Received on Wednesday, 6 February 2008 12:33:34 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 6 February 2008 12:33:35 GMT