ilene       2002/09/24 12:05:31

  Modified:    java/src/org/apache/xalan/res XSLTErrorResources.java
                        XSLTErrorResources.properties
  Log:
  Added some new error message strings.
  
  Revision  Changes    Path
  1.31      +20 -0     
xml-xalan/java/src/org/apache/xalan/res/XSLTErrorResources.java
  
  Index: XSLTErrorResources.java
  ===================================================================
  RCS file: 
/home/cvs/xml-xalan/java/src/org/apache/xalan/res/XSLTErrorResources.java,v
  retrieving revision 1.30
  retrieving revision 1.31
  diff -u -r1.30 -r1.31
  --- XSLTErrorResources.java   23 Sep 2002 19:51:56 -0000      1.30
  +++ XSLTErrorResources.java   24 Sep 2002 19:05:31 -0000      1.31
  @@ -1051,8 +1051,28 @@
   
     // Illegal value\u003a {1} used for number attribute\u003a {0}. 
     public static final int INVALID_NUMBER = 247;
  +
  +  
     // End of shared codes...
     
  +  // Argument to {0} in match pattern must be a literal.
  +  public static final int ER_ARG_LITERAL             = 248;
  +  
  +  // Duplicate global variable declaration.
  +  public static final int ER_DUPLICATE_GLOBAL_VAR    = 249;
  +  
  +  // Duplicate variable declaration.
  +  public static final int ER_DUPLICATE_VAR           = 250;
  +  
  +  // xsl:template must have a name or match attribute (or both)
  +  public static final int ER_TEMPLATE_NAME_MATCH     = 251;    
  +  
  +  // Prefix in exclude-result-prefixes is not valid\u003a {0}
  +  public static final int ER_INVALID_PREFIX          = 252;
  +  
  +  // attribute-set named {0} does not exist
  +  public static final int ER_NO_ATTRIB_SET           = 253;
  +
   
   
     /*
  
  
  
  1.12      +13 -2     
xml-xalan/java/src/org/apache/xalan/res/XSLTErrorResources.properties
  
  Index: XSLTErrorResources.properties
  ===================================================================
  RCS file: 
/home/cvs/xml-xalan/java/src/org/apache/xalan/res/XSLTErrorResources.properties,v
  retrieving revision 1.11
  retrieving revision 1.12
  diff -u -r1.11 -r1.12
  --- XSLTErrorResources.properties     23 Sep 2002 19:51:56 -0000      1.11
  +++ XSLTErrorResources.properties     24 Sep 2002 19:05:31 -0000      1.12
  @@ -502,7 +502,18 @@
   ER0246=Illegal value\u003a {1} used for boolean attribute\u003a {0} 
   # INVALID_NUMBER 
   ER0247=Illegal value\u003a {1} used for number attribute\u003a {0} 
  -
  +# ER_ARG_LITERAL - new error message for bugzilla #5202
  +ER0248=Argument to {0} in match pattern must be a literal.
  +# ER_DUPLICATE_GLOBAL_VAR - new error message for bugzilla #790
  +ER0249=Duplicate global variable declaration.
  +# ER_DUPLICATE_VAR - new error message for bugzilla #790
  +ER0250=Duplicate variable declaration.
  +# ER_TEMPLATE_NAME_MATCH - new error message for bugzilla #789
  +ER0251=xsl:template must have a name or match attribute (or both)
  +# ER_INVALID_PREFIX - new error message for bugzilla #788
  +ER0252=Prefix in exclude-result-prefixes is not valid\u003a {0}
  +# ER_NO_ATTRIB_SET - new error message for bugzilla #782
  +ER0253=attribute-set named {0} does not exist
   
   
   # WG_FOUND_CURLYBRACE 
  @@ -562,7 +573,7 @@
   # WG_PROCESSINGINSTRUCTION_NOTVALID_NCNAME
   WR0028=processing-instruction name must be a valid NCName\u003a {0}
   # WG_ILLEGAL_ATTRIBUTE_POSITION 
  -WR0029=Attribute {0} cannot be added after child nodes.
  +WR0029=Attribute {0} was added after child nodes or before an element was 
produced.
   
   # INVALID_TCHAR
   WR0239=Illegal value: {1} used for CHAR attribute: {0}.  An attribute of 
type CHAR must be only 1 character!
  
  
  

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

Reply via email to