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@uk.ibm.com
tel:+44-1962-815848
From:
Mike Beckerle <mbeckerle.dfdl@gmail.com>
To:
dfdl-wg@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@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@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