- From: <bugzilla@wiggum.w3.org>
- Date: Tue, 29 Jul 2008 14:58:24 +0000
- To: www-xml-schema-comments@w3.org
http://www.w3.org/Bugs/Public/show_bug.cgi?id=5906
Summary: Problem in definition of <restriction> in
<complexType>::<simpleContent>
Product: XML Schema
Version: 1.1 only
Platform: All
OS/Version: All
Status: NEW
Severity: normal
Priority: P2
Component: Structures: XSD Part 1
AssignedTo: cmsmcq@w3.org
ReportedBy: sandygao@ca.ibm.com
QAContact: www-xml-schema-comments@w3.org
The content of the <restriction> element in <complexType>::<simpleContent> is
defined as follows:
Content: (annotation?, (simpleType?, (minExclusive | minInclusive |
maxExclusive | maxInclusive | totalDigits | fractionDigits | maxScale |
minScale | length | minLength | maxLength | enumeration | whiteSpace | pattern
| assert | {any with namespace: ##other})*)?, ((attribute | attributeGroup)*,
anyAttribute?), assert*)
There are 2 assert elements (one belongs in the facets and the other belongs to
the complex type). However, the way the grammar is defined, there is no way to
differentiate between the 2 asserts.
I would propose we either remove the assert in the facets or change its name to
something like assertFacet.
--
Configure bugmail: http://www.w3.org/Bugs/Public/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
Received on Tuesday, 29 July 2008 15:06:28 UTC