src/java.xml/share/classes/com/sun/org/apache/xpath/internal/res/XPATHErrorResources.java

Print this page




  76  *  8) The context node is the node in the document with respect to which an
  77  *     XPath expression is being evaluated.
  78  *
  79  *  9) An iterator is an object that traverses nodes in the tree, one at a time.
  80  *
  81  *  10) NCName is an XML term used to describe a name that does not contain a
  82  *     colon (a "no-colon name").
  83  *
  84  *  11) QName is an XML term meaning "qualified name".
  85  */
  86 
  87   /*
  88    * static variables
  89    */
  90   public static final String ERROR0000 = "ERROR0000";
  91   public static final String ER_CURRENT_NOT_ALLOWED_IN_MATCH =
  92          "ER_CURRENT_NOT_ALLOWED_IN_MATCH";
  93   public static final String ER_CURRENT_TAKES_NO_ARGS =
  94          "ER_CURRENT_TAKES_NO_ARGS";
  95   public static final String ER_DOCUMENT_REPLACED = "ER_DOCUMENT_REPLACED";

  96   public static final String ER_CONTEXT_HAS_NO_OWNERDOC =
  97          "ER_CONTEXT_HAS_NO_OWNERDOC";
  98   public static final String ER_LOCALNAME_HAS_TOO_MANY_ARGS =
  99          "ER_LOCALNAME_HAS_TOO_MANY_ARGS";
 100   public static final String ER_NAMESPACEURI_HAS_TOO_MANY_ARGS =
 101          "ER_NAMESPACEURI_HAS_TOO_MANY_ARGS";
 102   public static final String ER_NORMALIZESPACE_HAS_TOO_MANY_ARGS =
 103          "ER_NORMALIZESPACE_HAS_TOO_MANY_ARGS";
 104   public static final String ER_NUMBER_HAS_TOO_MANY_ARGS =
 105          "ER_NUMBER_HAS_TOO_MANY_ARGS";
 106   public static final String ER_NAME_HAS_TOO_MANY_ARGS =
 107          "ER_NAME_HAS_TOO_MANY_ARGS";
 108   public static final String ER_STRING_HAS_TOO_MANY_ARGS =
 109          "ER_STRING_HAS_TOO_MANY_ARGS";
 110   public static final String ER_STRINGLENGTH_HAS_TOO_MANY_ARGS =
 111          "ER_STRINGLENGTH_HAS_TOO_MANY_ARGS";
 112   public static final String ER_TRANSLATE_TAKES_3_ARGS =
 113          "ER_TRANSLATE_TAKES_3_ARGS";
 114   public static final String ER_UNPARSEDENTITYURI_TAKES_1_ARG =
 115          "ER_UNPARSEDENTITYURI_TAKES_1_ARG";


 351   /**  xstr() not supported by XRTreeFragSelectWrapper   */
 352   public static final String ER_XSTR_NOT_SUPPORTED_XRTREEFRAGSELECTWRAPPER =
 353          "ER_XSTR_NOT_SUPPORTED_XRTREEFRAGSELECTWRAPPER";
 354   /**  str() not supported by XRTreeFragSelectWrapper   */
 355   public static final String ER_STR_NOT_SUPPORTED_XRTREEFRAGSELECTWRAPPER =
 356          "ER_STR_NOT_SUPPORTED_XRTREEFRAGSELECTWRAPPER";
 357 
 358   // Error messages...
 359 
 360   private static final Object[][] _contents = new Object[][]{
 361 
 362   { "ERROR0000" , "{0}" },
 363 
 364   { ER_CURRENT_NOT_ALLOWED_IN_MATCH, "The current() function is not allowed in a match pattern!" },
 365 
 366   { ER_CURRENT_TAKES_NO_ARGS, "The current() function does not accept arguments!" },
 367 
 368   { ER_DOCUMENT_REPLACED,
 369       "document() function implementation has been replaced by com.sun.org.apache.xalan.internal.xslt.FuncDocument!"},
 370 



 371   { ER_CONTEXT_HAS_NO_OWNERDOC,
 372       "context does not have an owner document!"},
 373 
 374   { ER_LOCALNAME_HAS_TOO_MANY_ARGS,
 375       "local-name() has too many arguments."},
 376 
 377   { ER_NAMESPACEURI_HAS_TOO_MANY_ARGS,
 378       "namespace-uri() has too many arguments."},
 379 
 380   { ER_NORMALIZESPACE_HAS_TOO_MANY_ARGS,
 381       "normalize-space() has too many arguments."},
 382 
 383   { ER_NUMBER_HAS_TOO_MANY_ARGS,
 384       "number() has too many arguments."},
 385 
 386   { ER_NAME_HAS_TOO_MANY_ARGS,
 387      "name() has too many arguments."},
 388 
 389   { ER_STRING_HAS_TOO_MANY_ARGS,
 390       "string() has too many arguments."},




  76  *  8) The context node is the node in the document with respect to which an
  77  *     XPath expression is being evaluated.
  78  *
  79  *  9) An iterator is an object that traverses nodes in the tree, one at a time.
  80  *
  81  *  10) NCName is an XML term used to describe a name that does not contain a
  82  *     colon (a "no-colon name").
  83  *
  84  *  11) QName is an XML term meaning "qualified name".
  85  */
  86 
  87   /*
  88    * static variables
  89    */
  90   public static final String ERROR0000 = "ERROR0000";
  91   public static final String ER_CURRENT_NOT_ALLOWED_IN_MATCH =
  92          "ER_CURRENT_NOT_ALLOWED_IN_MATCH";
  93   public static final String ER_CURRENT_TAKES_NO_ARGS =
  94          "ER_CURRENT_TAKES_NO_ARGS";
  95   public static final String ER_DOCUMENT_REPLACED = "ER_DOCUMENT_REPLACED";
  96   public static final String ER_CONTEXT_CAN_NOT_BE_NULL = "ER_CONTEXT_CAN_NOT_BE_NULL";
  97   public static final String ER_CONTEXT_HAS_NO_OWNERDOC =
  98          "ER_CONTEXT_HAS_NO_OWNERDOC";
  99   public static final String ER_LOCALNAME_HAS_TOO_MANY_ARGS =
 100          "ER_LOCALNAME_HAS_TOO_MANY_ARGS";
 101   public static final String ER_NAMESPACEURI_HAS_TOO_MANY_ARGS =
 102          "ER_NAMESPACEURI_HAS_TOO_MANY_ARGS";
 103   public static final String ER_NORMALIZESPACE_HAS_TOO_MANY_ARGS =
 104          "ER_NORMALIZESPACE_HAS_TOO_MANY_ARGS";
 105   public static final String ER_NUMBER_HAS_TOO_MANY_ARGS =
 106          "ER_NUMBER_HAS_TOO_MANY_ARGS";
 107   public static final String ER_NAME_HAS_TOO_MANY_ARGS =
 108          "ER_NAME_HAS_TOO_MANY_ARGS";
 109   public static final String ER_STRING_HAS_TOO_MANY_ARGS =
 110          "ER_STRING_HAS_TOO_MANY_ARGS";
 111   public static final String ER_STRINGLENGTH_HAS_TOO_MANY_ARGS =
 112          "ER_STRINGLENGTH_HAS_TOO_MANY_ARGS";
 113   public static final String ER_TRANSLATE_TAKES_3_ARGS =
 114          "ER_TRANSLATE_TAKES_3_ARGS";
 115   public static final String ER_UNPARSEDENTITYURI_TAKES_1_ARG =
 116          "ER_UNPARSEDENTITYURI_TAKES_1_ARG";


 352   /**  xstr() not supported by XRTreeFragSelectWrapper   */
 353   public static final String ER_XSTR_NOT_SUPPORTED_XRTREEFRAGSELECTWRAPPER =
 354          "ER_XSTR_NOT_SUPPORTED_XRTREEFRAGSELECTWRAPPER";
 355   /**  str() not supported by XRTreeFragSelectWrapper   */
 356   public static final String ER_STR_NOT_SUPPORTED_XRTREEFRAGSELECTWRAPPER =
 357          "ER_STR_NOT_SUPPORTED_XRTREEFRAGSELECTWRAPPER";
 358 
 359   // Error messages...
 360 
 361   private static final Object[][] _contents = new Object[][]{
 362 
 363   { "ERROR0000" , "{0}" },
 364 
 365   { ER_CURRENT_NOT_ALLOWED_IN_MATCH, "The current() function is not allowed in a match pattern!" },
 366 
 367   { ER_CURRENT_TAKES_NO_ARGS, "The current() function does not accept arguments!" },
 368 
 369   { ER_DOCUMENT_REPLACED,
 370       "document() function implementation has been replaced by com.sun.org.apache.xalan.internal.xslt.FuncDocument!"},
 371 
 372   { ER_CONTEXT_CAN_NOT_BE_NULL,
 373       "The context can not be null when the operation is context-dependent."},
 374   
 375   { ER_CONTEXT_HAS_NO_OWNERDOC,
 376       "context does not have an owner document!"},
 377 
 378   { ER_LOCALNAME_HAS_TOO_MANY_ARGS,
 379       "local-name() has too many arguments."},
 380 
 381   { ER_NAMESPACEURI_HAS_TOO_MANY_ARGS,
 382       "namespace-uri() has too many arguments."},
 383 
 384   { ER_NORMALIZESPACE_HAS_TOO_MANY_ARGS,
 385       "normalize-space() has too many arguments."},
 386 
 387   { ER_NUMBER_HAS_TOO_MANY_ARGS,
 388       "number() has too many arguments."},
 389 
 390   { ER_NAME_HAS_TOO_MANY_ARGS,
 391      "name() has too many arguments."},
 392 
 393   { ER_STRING_HAS_TOO_MANY_ARGS,
 394       "string() has too many arguments."},