com.sun.msv.reader.relax.core.checker
public class IdAbuseChecker extends Object implements RELAXExpressionVisitorVoid
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.
| Method Summary | |
|---|---|
| static void | check(RELAXCoreReader reader, RELAXModule module) |
| void | onAnyString() |
| void | onAttPool(AttPoolClause exp) |
| void | onAttribute(AttributeExp exp) |
| void | onChoice(ChoiceExp exp) |
| void | onConcur(ConcurExp exp) |
| void | onData(DataExp exp) |
| void | onElement(ElementExp exp) |
| void | onElementRules(ElementRules exp) |
| void | onEpsilon() |
| void | onHedgeRules(HedgeRules exp) |
| void | onInterleave(InterleaveExp exp) |
| void | onList(ListExp exp) |
| void | onMixed(MixedExp exp) |
| void | onNullSet() |
| void | onOneOrMore(OneOrMoreExp exp) |
| void | onOther(OtherExp exp) |
| void | onRef(ReferenceExp exp) |
| void | onSequence(SequenceExp exp) |
| void | onTag(TagClause exp) |
| void | onValue(ValueExp exp) |