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/06/03 01:04:29 UTC

cvs commit: xml-xerces/java/src/org/apache/xerces/validators/datatype AbstractDatatypeValidator.java DatatypeMessageProvider.java DatatypeValidator.java DecimalDatatypeValidator.java DoubleDatatypeValidator.java FloatDatatypeValidator.java IDDatatypeValidator.java IDREFDatatypeValidator.java InvalidDatatypeFacetException.java InvalidDatatypeValueException.java RecurringDurationDatatypeValidator.java StringDatatypeValidator.java TimeDurationDatatypeValidator.java XMLException.java

jeffreyr    00/06/02 16:04:28

  Modified:    java/src/org/apache/xerces/validators/datatype
                        AbstractDatatypeValidator.java
                        DatatypeMessageProvider.java DatatypeValidator.java
                        DecimalDatatypeValidator.java
                        DoubleDatatypeValidator.java
                        FloatDatatypeValidator.java
                        IDDatatypeValidator.java
                        IDREFDatatypeValidator.java
                        InvalidDatatypeFacetException.java
                        InvalidDatatypeValueException.java
                        RecurringDurationDatatypeValidator.java
                        StringDatatypeValidator.java
                        TimeDurationDatatypeValidator.java
                        XMLException.java
  Log:
  Version Id fix
  
  Revision  Changes    Path
  1.2       +1 -10     xml-xerces/java/src/org/apache/xerces/validators/datatype/AbstractDatatypeValidator.java
  
  Index: AbstractDatatypeValidator.java
  ===================================================================
  RCS file: /home/cvs/xml-xerces/java/src/org/apache/xerces/validators/datatype/AbstractDatatypeValidator.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- AbstractDatatypeValidator.java	2000/06/02 05:36:25	1.1
  +++ AbstractDatatypeValidator.java	2000/06/02 23:04:22	1.2
  @@ -57,7 +57,7 @@
   
   
   /**
  - * @version $Id: AbstractDatatypeValidator.java,v 1.1 2000/06/02 05:36:25 jeffreyr Exp $
  + * @version $Id: AbstractDatatypeValidator.java,v 1.2 2000/06/02 23:04:22 jeffreyr Exp $
    * @author  Jeffrey Rodriguez
   */
   
  @@ -121,14 +121,5 @@
        */
       public int compare(String value1, String valu2) {
           return 0;
  -    }
  -    /**
  -     * sets the datatype facet if any is set as a
  -     * Hashtable
  -     *
  -     * @return
  -     */
  -    
  -    public void setFacets(Hashtable facets, boolean list) {
       }
   }
  
  
  
  1.5       +4 -4      xml-xerces/java/src/org/apache/xerces/validators/datatype/DatatypeMessageProvider.java
  
  Index: DatatypeMessageProvider.java
  ===================================================================
  RCS file: /home/cvs/xml-xerces/java/src/org/apache/xerces/validators/datatype/DatatypeMessageProvider.java,v
  retrieving revision 1.4
  retrieving revision 1.5
  diff -u -r1.4 -r1.5
  --- DatatypeMessageProvider.java	2000/06/02 05:36:25	1.4
  +++ DatatypeMessageProvider.java	2000/06/02 23:04:23	1.5
  @@ -2,7 +2,7 @@
    * The Apache Software License, Version 1.1
    *
    *
  - * Copyright (c) 1999 The Apache Software Foundation.  All rights 
  + * Copyright (c) 1999, 2000 The Apache Software Foundation.  All rights 
    * reserved.
    *
    * Redistribution and use in source and binary forms, with or without
  @@ -63,10 +63,10 @@
   import org.apache.xerces.utils.XMLMessageProvider;
   
   /**
  - * @version $i$
  + * 
  + * @author Jeffrey Rodriguez
  + * @version $Id: DatatypeMessageProvider.java,v 1.5 2000/06/02 23:04:23 jeffreyr Exp $
    */
  -
  -
   public class DatatypeMessageProvider implements XMLMessageProvider {
       /**
        * The domain of messages concerning the XML Schema: Datatypes specification.
  
  
  
  1.6       +2 -2      xml-xerces/java/src/org/apache/xerces/validators/datatype/DatatypeValidator.java
  
  Index: DatatypeValidator.java
  ===================================================================
  RCS file: /home/cvs/xml-xerces/java/src/org/apache/xerces/validators/datatype/DatatypeValidator.java,v
  retrieving revision 1.5
  retrieving revision 1.6
  diff -u -r1.5 -r1.6
  --- DatatypeValidator.java	2000/06/02 05:36:25	1.5
  +++ DatatypeValidator.java	2000/06/02 23:04:23	1.6
  @@ -2,7 +2,7 @@
    * The Apache Software License, Version 1.1
    *
    *
  - * Copyright (c) 1999 The Apache Software Foundation.  All rights 
  + * Copyright (c) 1999, 2000 The Apache Software Foundation.  All rights 
    * reserved.
    *
    * Redistribution and use in source and binary forms, with or without
  @@ -68,7 +68,7 @@
    * W3C to remove facets from the data type spec.
    * 
    * @author Jeffrey Rodriguez-
  - * @version $i$
  + * @version $Id: DatatypeValidator.java,v 1.6 2000/06/02 23:04:23 jeffreyr Exp $
    */
   public interface DatatypeValidator {
       public static final int FACET_LENGTH       = 1;
  
  
  
  1.2       +2 -2      xml-xerces/java/src/org/apache/xerces/validators/datatype/DecimalDatatypeValidator.java
  
  Index: DecimalDatatypeValidator.java
  ===================================================================
  RCS file: /home/cvs/xml-xerces/java/src/org/apache/xerces/validators/datatype/DecimalDatatypeValidator.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- DecimalDatatypeValidator.java	2000/06/02 05:36:25	1.1
  +++ DecimalDatatypeValidator.java	2000/06/02 23:04:23	1.2
  @@ -2,7 +2,7 @@
    * The Apache Software License, Version 1.1
    *
    *
  - * Copyright (c) 1999 The Apache Software Foundation.  All rights 
  + * Copyright (c) 1999, 2000 The Apache Software Foundation.  All rights 
    * reserved.
    *
    * Redistribution and use in source and binary forms, with or without
  @@ -71,7 +71,7 @@
    *
    * @author Ted Leung
    * @author Jeffrey Rodriguez
  - * @version
  + * @version $Id: DecimalDatatypeValidator.java,v 1.2 2000/06/02 23:04:23 jeffreyr Exp $
    */
   
   public class DecimalDatatypeValidator extends AbstractDatatypeValidator {
  
  
  
  1.2       +2 -2      xml-xerces/java/src/org/apache/xerces/validators/datatype/DoubleDatatypeValidator.java
  
  Index: DoubleDatatypeValidator.java
  ===================================================================
  RCS file: /home/cvs/xml-xerces/java/src/org/apache/xerces/validators/datatype/DoubleDatatypeValidator.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- DoubleDatatypeValidator.java	2000/06/02 05:36:25	1.1
  +++ DoubleDatatypeValidator.java	2000/06/02 23:04:23	1.2
  @@ -2,7 +2,7 @@
    * The Apache Software License, Version 1.1
    *
    *
  - * Copyright (c) 1999 The Apache Software Foundation.  All rights 
  + * Copyright (c) 1999, 2000 The Apache Software Foundation.  All rights 
    * reserved.
    *
    * Redistribution and use in source and binary forms, with or without
  @@ -67,7 +67,7 @@
    *
    * @author Ted Leung
    * @author Jeffrey Rodriguez
  - * @version
  + * @version $Id: DoubleDatatypeValidator.java,v 1.2 2000/06/02 23:04:23 jeffreyr Exp $
    */
   
   public class DoubleDatatypeValidator extends AbstractDatatypeValidator {
  
  
  
  1.2       +2 -2      xml-xerces/java/src/org/apache/xerces/validators/datatype/FloatDatatypeValidator.java
  
  Index: FloatDatatypeValidator.java
  ===================================================================
  RCS file: /home/cvs/xml-xerces/java/src/org/apache/xerces/validators/datatype/FloatDatatypeValidator.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- FloatDatatypeValidator.java	2000/06/02 05:36:25	1.1
  +++ FloatDatatypeValidator.java	2000/06/02 23:04:23	1.2
  @@ -2,7 +2,7 @@
    * The Apache Software License, Version 1.1
    *
    *
  - * Copyright (c) 1999 The Apache Software Foundation.  All rights 
  + * Copyright (c) 1999, 2000 The Apache Software Foundation.  All rights 
    * reserved.
    *
    * Redistribution and use in source and binary forms, with or without
  @@ -67,7 +67,7 @@
    *
    * @author Ted Leung
    * @author Jeffrey Rodriguez
  - * @version  $Id: FloatDatatypeValidator.java,v 1.1 2000/06/02 05:36:25 jeffreyr Exp $
  + * @version  $Id: FloatDatatypeValidator.java,v 1.2 2000/06/02 23:04:23 jeffreyr Exp $
    */
   
   public class FloatDatatypeValidator extends AbstractDatatypeValidator {
  
  
  
  1.2       +1 -1      xml-xerces/java/src/org/apache/xerces/validators/datatype/IDDatatypeValidator.java
  
  Index: IDDatatypeValidator.java
  ===================================================================
  RCS file: /home/cvs/xml-xerces/java/src/org/apache/xerces/validators/datatype/IDDatatypeValidator.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- IDDatatypeValidator.java	2000/06/02 05:36:25	1.1
  +++ IDDatatypeValidator.java	2000/06/02 23:04:24	1.2
  @@ -65,7 +65,7 @@
    * These validators can be supplied by the application writer and may be useful as
    * standalone code as well as plugins to the validator architecture.
    * @author Jeffrey Rodriguez
  - * @version $Id:
  + * @version $Id: IDDatatypeValidator.java,v 1.2 2000/06/02 23:04:24 jeffreyr Exp $
    */
   public class IDDatatypeValidator extends AbstractDatatypeValidator {
       private DatatypeValidator fBaseValidator = null;
  
  
  
  1.2       +2 -1      xml-xerces/java/src/org/apache/xerces/validators/datatype/IDREFDatatypeValidator.java
  
  Index: IDREFDatatypeValidator.java
  ===================================================================
  RCS file: /home/cvs/xml-xerces/java/src/org/apache/xerces/validators/datatype/IDREFDatatypeValidator.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- IDREFDatatypeValidator.java	2000/06/02 05:36:25	1.1
  +++ IDREFDatatypeValidator.java	2000/06/02 23:04:24	1.2
  @@ -2,7 +2,7 @@
    * The Apache Software License, Version 1.1
    *
    *
  - * Copyright (c) 1999 The Apache Software Foundation.  All rights 
  + * Copyright (c) 1999, 2000 The Apache Software Foundation.  All rights 
    * reserved.
    *
    * Redistribution and use in source and binary forms, with or without
  @@ -66,6 +66,7 @@
    * standalone code as well as plugins to the validator architecture.
    * 
    * @author Jeffrey Rodriguez-
  + * @version $Id: IDREFDatatypeValidator.java,v 1.2 2000/06/02 23:04:24 jeffreyr Exp $
    */
   public class IDREFDatatypeValidator extends AbstractDatatypeValidator {
       private DatatypeValidator fBaseValidator  = null;
  
  
  
  1.2       +6 -1      xml-xerces/java/src/org/apache/xerces/validators/datatype/InvalidDatatypeFacetException.java
  
  Index: InvalidDatatypeFacetException.java
  ===================================================================
  RCS file: /home/cvs/xml-xerces/java/src/org/apache/xerces/validators/datatype/InvalidDatatypeFacetException.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- InvalidDatatypeFacetException.java	2000/06/02 05:36:25	1.1
  +++ InvalidDatatypeFacetException.java	2000/06/02 23:04:24	1.2
  @@ -2,7 +2,7 @@
    * The Apache Software License, Version 1.1
    *
    *
  - * Copyright (c) 1999 The Apache Software Foundation.  All rights 
  + * Copyright (c) 1999, 2000 The Apache Software Foundation.  All rights 
    * reserved.
    *
    * Redistribution and use in source and binary forms, with or without
  @@ -60,6 +60,11 @@
   
   
   
  +/**
  + * 
  + * @author Jeffrey Rodriguez
  + * @version $Id: InvalidDatatypeFacetException.java,v 1.2 2000/06/02 23:04:24 jeffreyr Exp $
  + */
   public class InvalidDatatypeFacetException extends XMLException {
   
       public InvalidDatatypeFacetException ( ){ 
  
  
  
  1.3       +4 -2      xml-xerces/java/src/org/apache/xerces/validators/datatype/InvalidDatatypeValueException.java
  
  Index: InvalidDatatypeValueException.java
  ===================================================================
  RCS file: /home/cvs/xml-xerces/java/src/org/apache/xerces/validators/datatype/InvalidDatatypeValueException.java,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- InvalidDatatypeValueException.java	2000/06/02 05:36:26	1.2
  +++ InvalidDatatypeValueException.java	2000/06/02 23:04:24	1.3
  @@ -2,7 +2,7 @@
    * The Apache Software License, Version 1.1
    *
    *
  - * Copyright (c) 1999 The Apache Software Foundation.  All rights 
  + * Copyright (c) 1999, 2000 The Apache Software Foundation.  All rights 
    * reserved.
    *
    * Redistribution and use in source and binary forms, with or without
  @@ -59,7 +59,9 @@
   
   /**
    * InvalidDatatypeValueException is thrown when data value doesn't match it's datatype
  - *
  + * 
  + * @author Jeffrey Rodriguez
  + * @version $Id: InvalidDatatypeValueException.java,v 1.3 2000/06/02 23:04:24 jeffreyr Exp $
    */
   public class InvalidDatatypeValueException extends XMLException {
   
  
  
  
  1.2       +2 -2      xml-xerces/java/src/org/apache/xerces/validators/datatype/RecurringDurationDatatypeValidator.java
  
  Index: RecurringDurationDatatypeValidator.java
  ===================================================================
  RCS file: /home/cvs/xml-xerces/java/src/org/apache/xerces/validators/datatype/RecurringDurationDatatypeValidator.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- RecurringDurationDatatypeValidator.java	2000/06/02 05:36:26	1.1
  +++ RecurringDurationDatatypeValidator.java	2000/06/02 23:04:24	1.2
  @@ -2,7 +2,7 @@
    * The Apache Software License, Version 1.1
    *
    *
  - * Copyright (c) 1999 The Apache Software Foundation.  All rights 
  + * Copyright (c) 1999, 2000 The Apache Software Foundation.  All rights 
    * reserved.
    *
    * Redistribution and use in source and binary forms, with or without
  @@ -72,7 +72,7 @@
    *
    *
    * @author Ted Leung, George Joseph, Jeffrey Rodriguez,  
  - * @version
  + * @version $Id: RecurringDurationDatatypeValidator.java,v 1.2 2000/06/02 23:04:24 jeffreyr Exp $
    */
   
   public class RecurringDurationDatatypeValidator extends AbstractDatatypeValidator {
  
  
  
  1.2       +2 -1      xml-xerces/java/src/org/apache/xerces/validators/datatype/StringDatatypeValidator.java
  
  Index: StringDatatypeValidator.java
  ===================================================================
  RCS file: /home/cvs/xml-xerces/java/src/org/apache/xerces/validators/datatype/StringDatatypeValidator.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- StringDatatypeValidator.java	2000/06/02 05:36:26	1.1
  +++ StringDatatypeValidator.java	2000/06/02 23:04:24	1.2
  @@ -2,7 +2,7 @@
    * The Apache Software License, Version 1.1
    *
    *
  - * Copyright (c) 1999 The Apache Software Foundation.  All rights 
  + * Copyright (c) 1999, 2000 The Apache Software Foundation.  All rights 
    * reserved.
    *
    * Redistribution and use in source and binary forms, with or without
  @@ -73,6 +73,7 @@
    * @author Ted Leung
    * @author Kito D. Mann, Virtua Communications Corp.
    * @author Jeffrey Rodriguez
  + * @version $Id: StringDatatypeValidator.java,v 1.2 2000/06/02 23:04:24 jeffreyr Exp $
    */
   public class StringDatatypeValidator extends AbstractDatatypeValidator{
       private Locale     fLocale          = null;
  
  
  
  1.2       +2 -2      xml-xerces/java/src/org/apache/xerces/validators/datatype/TimeDurationDatatypeValidator.java
  
  Index: TimeDurationDatatypeValidator.java
  ===================================================================
  RCS file: /home/cvs/xml-xerces/java/src/org/apache/xerces/validators/datatype/TimeDurationDatatypeValidator.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- TimeDurationDatatypeValidator.java	2000/06/02 05:36:26	1.1
  +++ TimeDurationDatatypeValidator.java	2000/06/02 23:04:25	1.2
  @@ -2,7 +2,7 @@
    * The Apache Software License, Version 1.1
    *
    *
  - * Copyright (c) 1999 The Apache Software Foundation.  All rights 
  + * Copyright (c) 1999, 2000 The Apache Software Foundation.  All rights 
    * reserved.
    *
    * Redistribution and use in source and binary forms, with or without
  @@ -72,7 +72,7 @@
    * TimeDurationValidator validates that XML content is a W3C timeDuration.
    *
    * @author Ted Leung, George Joseph
  - * @version
  + * @version $Id: TimeDurationDatatypeValidator.java,v 1.2 2000/06/02 23:04:25 jeffreyr Exp $
    */
   
   public class TimeDurationDatatypeValidator extends AbstractDatatypeValidator {
  
  
  
  1.2       +6 -1      xml-xerces/java/src/org/apache/xerces/validators/datatype/XMLException.java
  
  Index: XMLException.java
  ===================================================================
  RCS file: /home/cvs/xml-xerces/java/src/org/apache/xerces/validators/datatype/XMLException.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- XMLException.java	2000/06/02 05:36:26	1.1
  +++ XMLException.java	2000/06/02 23:04:25	1.2
  @@ -2,7 +2,7 @@
    * The Apache Software License, Version 1.1
    *
    *
  - * Copyright (c) 1999 The Apache Software Foundation.  All rights 
  + * Copyright (c) 1999, 2000 The Apache Software Foundation.  All rights 
    * reserved.
    *
    * Redistribution and use in source and binary forms, with or without
  @@ -57,6 +57,11 @@
   package org.apache.xerces.validators.datatype;
   
   
  +/**
  + * 
  + * @author Jeffrey Rodriguez
  + * @version $Id: XMLException.java,v 1.2 2000/06/02 23:04:25 jeffreyr Exp $
  + */
   public class XMLException extends Exception {
   
       public XMLException ( ) {