W3C home > Mailing lists > Public > xmlschema-dev@w3.org > July 2002

Question about strings...

From: Brenda Bell <bbell@juicesoftware.com>
Date: Tue, 30 Jul 2002 16:09:56 -0400
Message-ID: <846B0B02E1B78B49B678EDCC00EB2962FB4FFE@mail01.ent.juice.com>
To: "Xmlschema-Dev@W3. Org (E-mail)" <xmlschema-dev@w3.org>
As best as I can tell from the schema spec, there aren't any restrictions on
the minLength facet for strings other than the fact that it must be a
nonNegativeInteger.  If I declare a string where minLength is 0, should a
schema-aware parser accept the following element in an instance document:

    <name xsi:type="xsd:string"/>

Notwithstanding that I've defined all the appropriate namespaces and that
the rest of the document is valid XML.

Brenda Bell
Sr. Software Architect
Juice Software, Inc.
Phone: 603.428.3994
Cell:  603.494.8206
Fax:   603.428.8713
Email: bbell@juicesoftware.com
MSN:   bbell@theotherbell.com
Received on Tuesday, 30 July 2002 16:06:39 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 7 January 2015 14:55:57 UTC