[DFDL-WG] dfdl:checkConstraints

Suman Kalia kalia at ca.ibm.com
Sun Feb 3 18:30:34 EST 2013


Only complex element with simple contents can have facets and the only 
reason one  would create such element is because you want to have 
attributes. Since attributes are not supported in DFDL, my vote is for 
schema definition error..

Suman Kalia
IBM Canada Lab
WMB Toolkit Architect and Development Lead
Tel: 905-413-3923 T/L 313-3923
Email: kalia at ca.ibm.com

For info on Message broker
http://www.ibm.com/developerworks/websphere/zones/businessintegration/wmb.html





From:   Mike Beckerle <mbeckerle.dfdl at gmail.com>
To:     dfdl-wg at ogf.org, 
Date:   02/01/2013 04:26 PM
Subject:        [DFDL-WG] dfdl:checkConstraints
Sent by:        dfdl-wg-bounces at ogf.org




The error case of an argument that is an XPath to a complex type isn't 
discussed. 

Should this return true (hey, a complex element can't have facets, so 
there are none to be violated), false (errors are false), or cause a 
processing error or schema definition error?

Most conservative choice here is a schema definition error.

-- 
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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.ogf.org/pipermail/dfdl-wg/attachments/20130203/d60c48bf/attachment.html>


More information about the dfdl-wg mailing list