First, ID and IDREF can be only used as attribute values. They cannot be used from type attribute of elementRules.
Second, if <tag> clause declares directly or indirectly (by referencing attPool) one of its attribute as ID/IDREF type, it must satisfies either (or both) of the following statement.
| Modifier and Type | Field and Description |
|---|---|
| private String | |
| private final Set | idAttributes
set of AttributeExps: that have ID/IDREF values |
| private final RELAXModule | |
| private final Set | nonIdAttrNames
set of Strings: names of non-ID/IDREF attributes |
| private final Set | overloadedNames
set of Strings: tag names that are used more than once in this module |
| private final RELAXCoreReader | |
| private final Set | tagNames
set of Strings: tag names that are used in this module |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public static void | |
| public void | |
| public void | |
| public void | |
| public void | |
| public void | |
| public void | |
| public void | |
| public void | |
| public void | |
| public void | |
| public void | |
| public void | |
| public void | |
| public void | |
| public void | |
| public void | |
| public void | |
| public void | |
| public void | |
| public void | |
| private void |
| currentTagName | back to summary |
|---|---|
| private String currentTagName | |
| idAttributes | back to summary |
|---|---|
| private final Set<AttributeExp> idAttributes set of AttributeExps: that have ID/IDREF values | |
| module | back to summary |
|---|---|
| private final RELAXModule module | |
| nonIdAttrNames | back to summary |
|---|---|
| private final Set<String> nonIdAttrNames set of Strings: names of non-ID/IDREF attributes | |
| overloadedNames | back to summary |
|---|---|
| private final Set<String> overloadedNames set of Strings: tag names that are used more than once in this module | |
| reader | back to summary |
|---|---|
| private final RELAXCoreReader reader | |
| tagNames | back to summary |
|---|---|
| private final Set<String> tagNames set of Strings: tag names that are used in this module | |
| IdAbuseChecker | back to summary |
|---|---|
| private IdAbuseChecker(RELAXCoreReader r, RELAXModule m) | |
| check | back to summary |
|---|---|
| public static void check(RELAXCoreReader reader, RELAXModule module) | |
| onAnyString | back to summary |
|---|---|
| public void onAnyString() Implements com. | |
| onAttPool | back to summary |
|---|---|
| public void onAttPool(AttPoolClause exp) Implements com. | |
| onAttribute | back to summary |
|---|---|
| public void onAttribute(AttributeExp exp) Implements com. | |
| onChoice | back to summary |
|---|---|
| public void onChoice(ChoiceExp exp) Implements com. | |
| onConcur | back to summary |
|---|---|
| public void onConcur(ConcurExp exp) Implements com. | |
| onData | back to summary |
|---|---|
| public void onData(DataExp exp) Implements com. | |
| onElement | back to summary |
|---|---|
| public void onElement(ElementExp exp) Implements com. | |
| onElementRules | back to summary |
|---|---|
| public void onElementRules(ElementRules exp) Implements com. | |
| onEpsilon | back to summary |
|---|---|
| public void onEpsilon() Implements com. | |
| onHedgeRules | back to summary |
|---|---|
| public void onHedgeRules(HedgeRules exp) Implements com. | |
| onInterleave | back to summary |
|---|---|
| public void onInterleave(InterleaveExp exp) Implements com. | |
| onList | back to summary |
|---|---|
| public void onList(ListExp exp) Implements com. | |
| onMixed | back to summary |
|---|---|
| public void onMixed(MixedExp exp) Implements com. | |
| onNullSet | back to summary |
|---|---|
| public void onNullSet() Implements com. | |
| onOneOrMore | back to summary |
|---|---|
| public void onOneOrMore(OneOrMoreExp exp) Implements com. | |
| onOther | back to summary |
|---|---|
| public void onOther(OtherExp exp) Implements com. | |
| onRef | back to summary |
|---|---|
| public void onRef(ReferenceExp exp) Implements com. | |
| onSequence | back to summary |
|---|---|
| public void onSequence(SequenceExp exp) Implements com. | |
| onTag | back to summary |
|---|---|
| public void onTag(TagClause exp) Implements com. | |
| onValue | back to summary |
|---|---|
| public void onValue(ValueExp exp) Implements com. | |
| run | back to summary |
|---|---|
| private void run() | |