You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@xerces.apache.org by an...@apache.org on 2001/01/16 05:36:06 UTC

cvs commit: xml-xerces/java/src/org/apache/xerces/impl/validation/identity Field.java FieldActivator.java IdentityConstraint.java Key.java KeyRef.java Makefile Selector.java Unique.java ValueStore.java

andyc       01/01/15 20:36:06

  Added:       java/src/org/apache/xerces/impl/validation/identity Tag:
                        xerces_j_2 Field.java FieldActivator.java
                        IdentityConstraint.java Key.java KeyRef.java
                        Makefile Selector.java Unique.java ValueStore.java
  Log:
  Implementation of framework to support XML Schema identity constraints.
  This code can be used to represent identity constraint information
  while still allowing them to be cached with their respective grammars.
  It can also be used to interact with the validator in order to validate
  identity constraints in instance documents.
  
  More code is required in the validator to actually use these classes.
  The validator is responsible for activating identity constraint selectors
  when the element comes into scope; activating fields when the selector
  is matched; storing data values associated to fields; and ensuring that
  the data values are valid with respect to the identity constraint.
  
  Adding the code to the validator is the "hard" part -- the easy part
  is populating the grammar with the identity constraint information.
  And that's what these classes are designed for.
  
  NOTE: Waiting for Schema support to be enabled in Xerces2 for
        this code to be used.
  
  Revision  Changes    Path
  No                   revision
  
  
  No                   revision
  
  
  1.1.2.1   +195 -0    xml-xerces/java/src/org/apache/xerces/impl/validation/identity/Attic/Field.java
  
  
  
  
  1.1.2.1   +87 -0     xml-xerces/java/src/org/apache/xerces/impl/validation/identity/Attic/FieldActivator.java
  
  
  
  
  1.1.2.1   +134 -0    xml-xerces/java/src/org/apache/xerces/impl/validation/identity/Attic/IdentityConstraint.java
  
  
  
  
  1.1.2.1   +94 -0     xml-xerces/java/src/org/apache/xerces/impl/validation/identity/Attic/Key.java
  
  
  
  
  1.1.2.1   +98 -0     xml-xerces/java/src/org/apache/xerces/impl/validation/identity/Attic/KeyRef.java
  
  
  
  
  1.1.2.1   +16 -0     xml-xerces/java/src/org/apache/xerces/impl/validation/identity/Attic/Makefile
  
  
  
  
  1.1.2.1   +216 -0    xml-xerces/java/src/org/apache/xerces/impl/validation/identity/Attic/Selector.java
  
  
  
  
  1.1.2.1   +68 -0     xml-xerces/java/src/org/apache/xerces/impl/validation/identity/Attic/Unique.java
  
  
  
  
  1.1.2.1   +96 -0     xml-xerces/java/src/org/apache/xerces/impl/validation/identity/Attic/ValueStore.java