-
Notifications
You must be signed in to change notification settings - Fork 130
Open
Labels
conversion: oddstatus: confirmedE.g., the bug reported has been confirmed by an independant observer.E.g., the bug reported has been confirmed by an independant observer.type: bugA bug report.A bug report.
Milestone
Description
If an <elementSpec> has both a child <memberOf key="att.typed"/> and a child <attDef ident="type" mode="change"> the right thing happens. If a <classSpec type="atts"> has the same combination of children the build fails with “Duplicate attribute uses with the same name and target namespace are specified. Name of duplicate attribute use is 'type'.”
The following diff output shows what I did to generate the problem.
$ gitdiff Source/Specs/att.textCritical.xml
diff --git a/P5/Source/Specs/att.textCritical.xml b/P5/Source/Specs/att.textCritical.xml
index ef13c69..5213d92 100644
--- a/P5/Source/Specs/att.textCritical.xml
+++ b/P5/Source/Specs/att.textCritical.xml
@@ -17,0 +18 @@ $Id$
+ <memberOf key="att.typed"/>
@@ -20 +21 @@ $Id$
- <attDef ident="type" usage="opt">
+ <attDef ident="type" usage="opt" mode="change">
@@ -29 +30 @@ $Id$
- <valList type="open">
+ <valList type="open" mode="add">Metadata
Metadata
Assignees
Labels
conversion: oddstatus: confirmedE.g., the bug reported has been confirmed by an independant observer.E.g., the bug reported has been confirmed by an independant observer.type: bugA bug report.A bug report.