You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@xalan.apache.org by mm...@apache.org on 2002/06/26 17:20:06 UTC

cvs commit: xml-xalan/java/src/org/apache/xalan/res XSLTErrorResources.java XSLTErrorResources.properties

mmidy       2002/06/26 08:20:06

  Modified:    java/src/org/apache/xalan/res XSLTErrorResources.java
                        XSLTErrorResources.properties
  Log:
  Add error resources pulled out from code
  
  Revision  Changes    Path
  1.27      +17 -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.26
  retrieving revision 1.27
  diff -u -r1.26 -r1.27
  --- XSLTErrorResources.java	7 Jun 2002 17:13:54 -0000	1.26
  +++ XSLTErrorResources.java	26 Jun 2002 15:20:06 -0000	1.27
  @@ -1016,6 +1016,23 @@
   // ListingErrorHandler created with null PrintWriter!
     public static final int ER_ERRORHANDLER_CREATED_WITH_NULL_PRINTWRITER = 236;
   
  +  // {0}is not allowed in this position in the stylesheet!
  +  public static final int ER_NOT_ALLOWED_IN_POSITION = 237;
  +
  +  // Non-whitespace text is not allowed in this position in the stylesheet!
  +  public static final int ER_NONWHITESPACE_NOT_ALLOWED_IN_POSITION = 238;
  +  
  +  // An XSLT attribute of type T_CHAR must be only 1 character!
  +  public static final int ER_ATTR_T_CHAR_ONE_CHAR = 239;
  +  
  +  // SystemId Unknown
  +  public static final int ER_SYSTEMID_UNKNOWN = 240;
  +    
  +  // Location of error unknown  
  +  public static final int ER_LOCATION_UNKNOWN = 241;
  +  
  +
  +
     /*
       /**  Cannot find SAX1 driver class    *
     public static final int ER_CANNOT_FIND_SAX1_DRIVER = 190;
  
  
  
  1.6       +11 -0     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.5
  retrieving revision 1.6
  diff -u -r1.5 -r1.6
  --- XSLTErrorResources.properties	10 Jun 2002 13:29:26 -0000	1.5
  +++ XSLTErrorResources.properties	26 Jun 2002 15:20:06 -0000	1.6
  @@ -480,6 +480,17 @@
   ER0235=Axis traverser not supported: {0}
   # ER_ERRORHANDLER_CREATED_WITH_NULL_PRINTWRITER!
   ER0236=ListingErrorHandler created with null PrintWriter!
  +# ER_NOT_ALLOWED_IN_POSITION
  +ER0237={0} is not allowed in this position in the stylesheet!
  +# ER_NONWHITESPACE_NOT_ALLOWED_IN_POSITION
  +ER0238=Non-whitespace text is not allowed in this position in the stylesheet!
  +# ER_ATTR_T_CHAR_ONE_CHAR
  +ER0239=An XSLT attribute of type T_CHAR must be only 1 character!
  +# ER_SYSTEMID_UNKNOWN
  +ER0240=SystemId Unknown
  +# ER_LOCATION_UNKNOWN
  +ER0241=Location of error unknown
  +
   
   # WG_FOUND_CURLYBRACE 
   WR0001=Found '}' but no attribute template open!
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: xalan-cvs-unsubscribe@xml.apache.org
For additional commands, e-mail: xalan-cvs-help@xml.apache.org