You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@xalan.apache.org by sa...@apache.org on 2002/05/06 19:52:55 UTC

cvs commit: xml-xalan/java/src/org/apache/xalan/xsltc/compiler/util ErrorMessages.java ErrorMessages_no.java ErrorMsg.java

santiagopg    02/05/06 10:52:55

  Modified:    java/src/org/apache/xalan/xsltc/compiler/util
                        ErrorMessages.java ErrorMessages_no.java
                        ErrorMsg.java
  Log:
  Fix for Bugzilla 8041.
  
  Revision  Changes    Path
  1.10      +4 -2      xml-xalan/java/src/org/apache/xalan/xsltc/compiler/util/ErrorMessages.java
  
  Index: ErrorMessages.java
  ===================================================================
  RCS file: /home/cvs/xml-xalan/java/src/org/apache/xalan/xsltc/compiler/util/ErrorMessages.java,v
  retrieving revision 1.9
  retrieving revision 1.10
  diff -u -r1.9 -r1.10
  --- ErrorMessages.java	25 Apr 2002 14:32:32 -0000	1.9
  +++ ErrorMessages.java	6 May 2002 17:52:55 -0000	1.10
  @@ -1,5 +1,5 @@
   /*
  - * @(#)$Id: ErrorMessages.java,v 1.9 2002/04/25 14:32:32 tmiller Exp $
  + * @(#)$Id: ErrorMessages.java,v 1.10 2002/05/06 17:52:55 santiagopg Exp $
    *
    * The Apache Software License, Version 1.1
    *
  @@ -261,7 +261,9 @@
   	// STRAY_SORT_ERR
   	"<xsl:sort> can only be used within <xsl:for-each> or <xsl:apply-templates>.",
   	// UNSUPPORTED_ENCODING
  -	"Output encoding ''{0}'' is not supported on this JVM."
  +	"Output encoding ''{0}'' is not supported on this JVM.",
  +	// SYNTAX_ERR
  +	"Syntax error in ''{0}''."
       };
   
       private static Vector _keys;
  
  
  
  1.6       +4 -2      xml-xalan/java/src/org/apache/xalan/xsltc/compiler/util/ErrorMessages_no.java
  
  Index: ErrorMessages_no.java
  ===================================================================
  RCS file: /home/cvs/xml-xalan/java/src/org/apache/xalan/xsltc/compiler/util/ErrorMessages_no.java,v
  retrieving revision 1.5
  retrieving revision 1.6
  diff -u -r1.5 -r1.6
  --- ErrorMessages_no.java	5 Dec 2001 11:27:50 -0000	1.5
  +++ ErrorMessages_no.java	6 May 2002 17:52:55 -0000	1.6
  @@ -1,5 +1,5 @@
   /*
  - * @(#)$Id: ErrorMessages_no.java,v 1.5 2001/12/05 11:27:50 morten Exp $
  + * @(#)$Id: ErrorMessages_no.java,v 1.6 2002/05/06 17:52:55 santiagopg Exp $
    *
    * The Apache Software License, Version 1.1
    *
  @@ -249,7 +249,9 @@
   	// STRAY_SORT_ERR
   	"<xsl:sort> kan bare brukes under <xsl:for-each> eller <xsl:apply-templates>.",
   	// UNSUPPORTED_ENCODING
  -	"Karaktersett ''{0}'' er ikke st\u00f8ttet av denne JVM."
  +	"Karaktersett ''{0}'' er ikke st\u00f8ttet av denne JVM.",
  +	// SYNTAX_ERR
  +	"Syntax error in ''{0}''."  // TODO: How do you say "syntax error" in norwegian?
       };
   
       public Object handleGetObject(String key) {
  
  
  
  1.13      +2 -1      xml-xalan/java/src/org/apache/xalan/xsltc/compiler/util/ErrorMsg.java
  
  Index: ErrorMsg.java
  ===================================================================
  RCS file: /home/cvs/xml-xalan/java/src/org/apache/xalan/xsltc/compiler/util/ErrorMsg.java,v
  retrieving revision 1.12
  retrieving revision 1.13
  diff -u -r1.12 -r1.13
  --- ErrorMsg.java	5 Dec 2001 11:27:50 -0000	1.12
  +++ ErrorMsg.java	6 May 2002 17:52:55 -0000	1.13
  @@ -1,5 +1,5 @@
   /*
  - * @(#)$Id: ErrorMsg.java,v 1.12 2001/12/05 11:27:50 morten Exp $
  + * @(#)$Id: ErrorMsg.java,v 1.13 2002/05/06 17:52:55 santiagopg Exp $
    *
    * The Apache Software License, Version 1.1
    *
  @@ -165,6 +165,7 @@
       // Recently added error messages
       public static final int STRAY_SORT_ERR          = 74;
       public static final int UNSUPPORTED_ENCODING    = 75;
  +    public static final int SYNTAX_ERR              = 76;
   
       // All error messages are localized and are stored in resource bundles.
       // This array and the following 4 strings are read from that bundle.
  
  
  

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