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@ca.ibm.com

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





From:        Mike Beckerle <mbeckerle.dfdl@gmail.com>
To:        dfdl-wg@ogf.org,
Date:        02/01/2013 04:26 PM
Subject:        [DFDL-WG] dfdl:checkConstraints
Sent by:        dfdl-wg-bounces@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@ogf.org
 
https://www.ogf.org/mailman/listinfo/dfdl-wg