mmidy       2002/06/26 08:17:38

  Modified:    java/src/org/apache/xpath/res XPATHErrorResources.java
                        XPATHErrorResources.properties
  Log:
  Add error resources pulled out from code
  
  Revision  Changes    Path
  1.14      +29 -0     xml-xalan/java/src/org/apache/xpath/res/XPATHErrorResources.java
  
  Index: XPATHErrorResources.java
  ===================================================================
  RCS file: 
/home/cvs/xml-xalan/java/src/org/apache/xpath/res/XPATHErrorResources.java,v
  retrieving revision 1.13
  retrieving revision 1.14
  diff -u -r1.13 -r1.14
  --- XPATHErrorResources.java  7 Jun 2002 17:13:55 -0000       1.13
  +++ XPATHErrorResources.java  26 Jun 2002 15:17:38 -0000      1.14
  @@ -464,8 +464,37 @@
     
   // Variable accessed before it is bound!
     public static final int ER_VARIABLE_ACCESSED_BEFORE_BIND = 85;
  +  
  +  // XStringForFSB can not take a string for an argument!
  +  public static final int ER_FSB_CANNOT_TAKE_STRING = 86;
  +  
  +  // Error! Setting the root of a walker to null!
  +  public static final int ER_SETTING_WALKER_ROOT_TO_NULL = 87;
  +  
  +  // This NodeSetDTM can not iterate to a previous node!
  +  public static final int ER_NODESETDTM_CANNOT_ITERATE = 88;
  +  
  +  // This NodeSet can not iterate to a previous node!
  +  public static final int ER_NODESET_CANNOT_ITERATE = 89;
   
  +  // This NodeSetDTM can not do indexing or counting functions!
  +  public static final int ER_NODESETDTM_CANNOT_INDEX = 90;
  +  
  +  // This NodeSet can not do indexing or counting functions!
  +  public static final int ER_NODESET_CANNOT_INDEX = 91;
   
  +  // Can not call setShouldCacheNodes after nextNode has been called!
  +  public static final int ER_CANNOT_CALL_SETSHOULDCACHENODE = 92;
  +  
  +  // {0} only allows {1} arguments
  +  public static final int ER_ONLY_ALLOWS = 93;
  +  
  +  // Programmer's assertion in getNextStepPos: unknown stepType: {0}
  +  public static final int ER_UNKNOWN_STEP = 94;
  +
  +
  +
  +  
     // Warnings...
   
     /** Field WG_LOCALE_NAME_NOT_HANDLED          */
  
  
  
  1.4       +20 -0     
xml-xalan/java/src/org/apache/xpath/res/XPATHErrorResources.properties
  
  Index: XPATHErrorResources.properties
  ===================================================================
  RCS file: 
/home/cvs/xml-xalan/java/src/org/apache/xpath/res/XPATHErrorResources.properties,v
  retrieving revision 1.3
  retrieving revision 1.4
  diff -u -r1.3 -r1.4
  --- XPATHErrorResources.properties    10 Jun 2002 20:47:44 -0000      1.3
  +++ XPATHErrorResources.properties    26 Jun 2002 15:17:38 -0000      1.4
  @@ -176,6 +176,26 @@
   ER0084=2 or 3
   # ER_VARIABLE_ACCESSED_BEFORE_BIND
   ER0085=Variable accessed before it is bound!
  +# ER_FSB_CANNOT_TAKE_STRING 
  +ER0086=XStringForFSB can not take a string for an argument!
  +# ER_SETTING_WALKER_ROOT_T)_NULL 
  +ER0087=\n !!!! Error! Setting the root of a walker to null!!!
  +# ER_NODESETDTM_CANNOT_ITERATE
  +ER0088=This NodeSetDTM can not iterate to a previous node!
  +# ER_NODESET_CANNOT_ITERATE
  +ER0089=This NodeSet can not iterate to a previous node!
  +# ER_NODESETDTM_CANNOT_INDEX
  +ER0090=This NodeSetDTM can not do indexing or counting functions!
  +# ER_NODESET_CANNOT_INDEX
  +ER0091=This NodeSet can not do indexing or counting functions!
  +# ER_CANNOT_CALL_SETSHOULDCACHENODE
  +ER0092=Can not call setShouldCacheNodes after nextNode has been called!
  +# ER_ONLY_ALLOWS
  +ER0093={0} only allows {1} arguments
  +# ER_UNKNOWN_STEP
  +ER0094=Programmer's assertion in getNextStepPos: unknown stepType: {0}
  +
  +
   
   # WG_LOCALE_NAME_NOT_HANDLED 
   WR0001=locale name in the format-number function not yet handled!
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to