You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@xerces.apache.org by je...@locus.apache.org on 2000/11/01 04:03:56 UTC
cvs commit: xml-xerces/java/src/org/apache/xerces/impl/validation/datatypes ENTITYDatatypeValidator.java
jeffreyr 00/10/31 19:03:56
Modified: java/src/org/apache/xerces/impl/validation/datatypes Tag:
xerces_j_2 ENTITYDatatypeValidator.java
Log:
more doc
Revision Changes Path
No revision
No revision
1.1.2.4 +8 -5 xml-xerces/java/src/org/apache/xerces/impl/validation/datatypes/Attic/ENTITYDatatypeValidator.java
Index: ENTITYDatatypeValidator.java
===================================================================
RCS file: /home/cvs/xml-xerces/java/src/org/apache/xerces/impl/validation/datatypes/Attic/ENTITYDatatypeValidator.java,v
retrieving revision 1.1.2.3
retrieving revision 1.1.2.4
diff -u -r1.1.2.3 -r1.1.2.4
--- ENTITYDatatypeValidator.java 2000/10/31 22:49:01 1.1.2.3
+++ ENTITYDatatypeValidator.java 2000/11/01 03:03:55 1.1.2.4
@@ -90,7 +90,7 @@
* able to validate entities.</P>
*
* @author Jeffrey Rodriguez-
- * @version $Id: ENTITYDatatypeValidator.java,v 1.1.2.3 2000/10/31 22:49:01 jeffreyr Exp $
+ * @version $Id: ENTITYDatatypeValidator.java,v 1.1.2.4 2000/11/01 03:03:55 jeffreyr Exp $
* @see org.apache.xerces.impl.validation.Grammar
* @see org.apache.xerces.impl.validation.grammars.DTDGrammar
* @see org.apache.xerces.impl.validation.grammars.SchemaGrammar
@@ -111,16 +111,19 @@
/**
- * Checks that "content" string is valid
+ * <P>Checks that "content" string is valid
* datatype.
- * If invalid a Datatype validation exception is thrown.
+ * If invalid a Datatype validation exception is thrown.</P>
+ * <P>The following constrain is checked:
+ * ENTITY values must match an unparsed entity
+ * name that is declared in the schema.</P>
*
* @param content A string containing the content to be validated
- *
+ * @param state
* @exception throws InvalidDatatypeException if the content is
* invalid according to the rules for the validators
* @exception InvalidDatatypeValueException
- * @see org.apache.xerces.validators.datatype.InvalidDatatypeValueException
+ * @see org.apache.xerces.validators.datatype.InvalidDatatypeValueException
*/
public void validate(String content, Object state ) throws InvalidDatatypeValueException{
int entityDeclIndex = -1;