W3C home > Mailing lists > Public > www-xml-schema-comments@w3.org > April to June 2018

Re: xsd:list should allow a 'delimiter' attribute discussion

From: Mukul Gandhi <gandhi.mukul@gmail.com>
Date: Sun, 1 Apr 2018 13:07:43 +0530
Message-ID: <CABuuzNPUM8dU=gYLiAMoD6PXfvo=OJQ-PzmWn3aLczjwDB7m3A@mail.gmail.com>
To: Michael Kay <mike@saxonica.com>
Cc: www-xml-schema-comments@w3.org
Hi Mike,
   I would like to push for a similar extension (i.e 'delimiter'
attribute/facet on xsd:list) to the Xerces's XSD 1.1 processor. I believe,
this would be good for portability of this feature across multiple schema
processors.

On Thu, Mar 29, 2018 at 6:11 PM, Michael Kay <mike@saxonica.com> wrote:

> Also, this approach might give the right yes/no answer from validation,
> but it won't give you a list as the typed value if you're doing data
> binding or schema-aware XSLT/XQuery.
>
> Saxon provides as an XSD 1.1 extension a pre-lexical facet called
> saxon:preprocess, in which you can convert the delimiters to spaces and
> then process as a standard list type. A specific pre-lexical facet to
> define the delimiter would be an even better solution. However, extensions
> like this are not really much use - most people want their schemas to be
> portable across multiple schema processors.
>
> Michael Kay
> Saxonica
>



-- 
Regards,
Mukul Gandhi
Received on Sunday, 1 April 2018 07:38:27 UTC

This archive was generated by hypermail 2.3.1 : Sunday, 1 April 2018 07:38:28 UTC