- From: <bugzilla@jessica.w3.org>
- Date: Sat, 29 Sep 2012 19:54:40 +0000
- To: www-xml-schema-comments@w3.org
https://www.w3.org/Bugs/Public/show_bug.cgi?id=19144
Summary: support for required attribute name aliases (or
attribute/attributeGroup choice)
Product: XML Schema
Version: Future
Platform: All
OS/Version: All
Status: NEW
Severity: normal
Priority: P2
Component: Structures: XSD Part 1
AssignedTo: David_E3@VERIFONE.com
ReportedBy: adam.gladki@gmail.com
QAContact: www-xml-schema-comments@w3.org
CC: cmsmcq@blackmesatech.com
support for required attribute name aliases and/or attribute/attributeGroup
choice
In 1.1 you can achieve element name aliases:
- substitution groups
- <xs:choice>
But none of this works on attributes where you want required attribute name to
have an alias:
<ELEMENT name="Some Element">
<ELEMENT caption="Some Element">
where "name" or "caption" should be specified. Another case is when you want to
have alternative attributeGroups for an element with required ones included.
Motivation:
In my opinion this may by non rare case when you create schema for existing
inconsistent XML documents ensuring backward compatibility or other motivations
that bring substitution groups to elements. Anyway in my opinion similar
capabilities should be available for elements and attributes.
--
Configure bugmail: https://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 Saturday, 29 September 2012 19:54:41 UTC