Re: Determining what facets can operate on what datatype.

And in the same vein, the definition for enumeration, indicates to me that
it accepts any type, even user defined ones:

"*enumeration* does not impose an order relation on the value
space<http://www.w3.org/TR/2001/PR-xmlschema-2-20010330/#dt-value-space>
it
creates; the value of the
ordered<http://www.w3.org/TR/2001/PR-xmlschema-2-20010330/#dt-ordered>
property
of the derived<http://www.w3.org/TR/2001/PR-xmlschema-2-20010330/#dt-derived>
datatype
remains that of the datatype from which it is
derived<http://www.w3.org/TR/2001/PR-xmlschema-2-20010330/#dt-derived>
."


Am I understanding this correctly?


On Mon, Dec 3, 2012 at 4:18 PM, Casey Jordan <casey.jordan@jorsek.com>wrote:

> As I dig deeper into the spec I am finding it hard to easily determine
> what facets are compatible with what datatypes. For instance, the
> definition of length:
>
> "For string and datatypes derived from string, length is measured in units
> of characters as defined in [XML 1.0 (Second Edition)]. For hexBinary and
> base64Binary and datatypes derived from them, length is measured in octets
> (8 bits) of binary data. For datatypes derived by list, length is measured
> in number of list items."
>
> Indicates to me that minLength, maxLength and fixedLength facets can only
> apply to derivations of String, hexBinary, base64Binary or List types.
>
> However, I don't see that explicitly stated anywhere (I am likely missing
> something) which leaves some question to my assumptions as well as what to
> do when encountering other datatypes.
>
> Is there information available which I am not seeing or should a way to
> approach this problem that I may not be realizing?
>
> Thanks,
>
> Casey
>
>
>
> --
> --
> Casey Jordan
> easyDITA a product of Jorsek LLC
> "CaseyDJordan" on LinkedIn, Twitter & Facebook
> (585) 348 7399
> easydita.com
>
>
> This message is intended only for the use of the Addressee(s) and may
> contain information that is privileged, confidential, and/or exempt from
> disclosure under applicable law.  If you are not the intended recipient,
> please be advised that any disclosure  copying, distribution, or use of
> the information contained herein is prohibited.  If you have received
> this communication in error, please destroy all copies of the message,
> whether in electronic or hard copy format, as well as attachments, and
> immediately contact the sender by replying to this e-mail or by phone.
> Thank you.
>
>


-- 
--
Casey Jordan
easyDITA a product of Jorsek LLC
"CaseyDJordan" on LinkedIn, Twitter & Facebook
(585) 348 7399
easydita.com


This message is intended only for the use of the Addressee(s) and may
contain information that is privileged, confidential, and/or exempt from
disclosure under applicable law.  If you are not the intended recipient,
please be advised that any disclosure  copying, distribution, or use of
the information contained herein is prohibited.  If you have received
this communication in error, please destroy all copies of the message,
whether in electronic or hard copy format, as well as attachments, and
immediately contact the sender by replying to this e-mail or by phone.
Thank you.

Received on Monday, 3 December 2012 21:31:08 UTC