You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@xalan.apache.org by jy...@apache.org on 2005/07/08 23:45:24 UTC

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

jycli       2005/07/08 14:45:24

  Modified:    java/src/org/apache/xalan/res XSLTErrorResources.java
               java/src/org/apache/xalan/xsltc/compiler/util
                        ErrorMessages.java
  Log:
  Added missing apostrophe for error messages. Fixed bug report XALANJ-2167. Patch is reviewed by Sarah McNamara (mcnamara@ca.ibm.com)
  
  Revision  Changes    Path
  1.52      +2 -2      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.51
  retrieving revision 1.52
  diff -u -r1.51 -r1.52
  --- XSLTErrorResources.java	29 Jun 2005 19:29:05 -0000	1.51
  +++ XSLTErrorResources.java	8 Jul 2005 21:45:12 -0000	1.52
  @@ -1301,7 +1301,7 @@
       // and must not be translated.  "NCName" is an XML data-type and must not be
       // translated.
       { WG_PROCESSINGINSTRUCTION_NOTVALID_NCNAME,
  -      "The value of the 'name' attribute of xsl:processing-instruction must be a valid NCName: {0}"},
  +      "The value of the ''name'' attribute of xsl:processing-instruction must be a valid NCName: {0}"},
   
       // Note to translators:  This message is reported if the stylesheet that is
       // being processed attempted to construct an XML document with an attribute in a
  
  
  
  1.27      +2 -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.26
  retrieving revision 1.27
  diff -u -r1.26 -r1.27
  --- ErrorMessages.java	31 May 2005 15:12:59 -0000	1.26
  +++ ErrorMessages.java	8 Jul 2005 21:45:12 -0000	1.27
  @@ -931,7 +931,7 @@
            * attribute.
            */
           {ErrorMsg.INVALID_METHOD_IN_OUTPUT,
  -        "The method attribute of an <xsl:output> element had the value ''{0}''.  The value must be one of 'xml', 'html', 'text', or qname-but-not-ncname"},
  +        "The method attribute of an <xsl:output> element had the value ''{0}''.  The value must be one of ''xml'', ''html'', ''text'', or qname-but-not-ncname"},
           
           {ErrorMsg.JAXP_GET_FEATURE_NULL_NAME,
           "The feature name cannot be null in TransformerFactory.getFeature(String name)."},
  
  
  

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