[DFDL-WG] rationale for only allowing pattern facet on xs:string type

Steve Hanson smh at uk.ibm.com
Thu May 16 04:13:17 EDT 2013


It was to prevent confusion between XML schema pattern facet and DFDL text 
number and text calendar patterns.

Regards

Steve Hanson
Architect, IBM Data Format Description Language (DFDL)
Co-Chair, OGF DFDL Working Group
IBM SWG, Hursley, UK
smh at uk.ibm.com
tel:+44-1962-815848



From:   Mike Beckerle <mbeckerle.dfdl at gmail.com>
To:     dfdl-wg at ogf.org, 
Date:   15/05/2013 18:51
Subject:        [DFDL-WG] rationale for only allowing pattern facet on 
xs:string       type
Sent by:        dfdl-wg-bounces at ogf.org




The pattern facet is allowed on all types in XML Schema. 

DFDL says the XSDL pattern facet is for xs:string type elements only.

What is the rationale for this restriction?

We are encountering many constraints in format specs that are using XML 
Schema regular expressions, where those regex are applied to numeric types 
(e.g., xs:decimal for lattitude and longitude). 


-- 
Mike Beckerle | OGF DFDL Workgroup Co-Chair | Tresys Technology | 
www.tresys.com
--
  dfdl-wg mailing list
  dfdl-wg at ogf.org
  https://www.ogf.org/mailman/listinfo/dfdl-wg

Unless stated otherwise above:
IBM United Kingdom Limited - Registered in England and Wales with number 
741598. 
Registered office: PO Box 41, North Harbour, Portsmouth, Hampshire PO6 3AU
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.ogf.org/pipermail/dfdl-wg/attachments/20130516/7c5bec3e/attachment.html>


More information about the dfdl-wg mailing list