W3C home > Mailing lists > Public > www-ws-desc@w3.org > December 2006

problem with pattern attribute definition?

From: Amelia A Lewis <alewis@tibco.com>
Date: Thu, 7 Dec 2006 13:35:51 -0500
To: www-ws-desc@w3.org
Message-Id: <20061207133551.479d4b9e.alewis@tibco.com>


So, the pattern AII is REQUIRED (2.4.2 ed copy, bullet 3).  But if it *doesn't exist*, we supply a default value (, final sentence).

If that's the way that we always describe defaults (required attribute, which if it isn't there has a value anyway), then our description is really painfully awkward.  Is this a consequence of describing the "XML representation" via the infoset?  Is it boneheaded of me to think that if I see "the pattern attribute information item is required" that @pattern will always appear on operation?

Heh.  Can XPath retrieve the value of a defaulted attribute?  That's not apropos of much of anything, mind.

Amelia A. Lewis
Senior Architect
TIBCO/Extensibility, Inc.
Received on Thursday, 7 December 2006 18:36:13 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 23:07:03 UTC