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

Print this page

        

@@ -91,10 +91,11 @@
   public static final String ER_CURRENT_NOT_ALLOWED_IN_MATCH =
          "ER_CURRENT_NOT_ALLOWED_IN_MATCH";
   public static final String ER_CURRENT_TAKES_NO_ARGS =
          "ER_CURRENT_TAKES_NO_ARGS";
   public static final String ER_DOCUMENT_REPLACED = "ER_DOCUMENT_REPLACED";
+  public static final String ER_CONTEXT_CAN_NOT_BE_NULL = "ER_CONTEXT_CAN_NOT_BE_NULL";
   public static final String ER_CONTEXT_HAS_NO_OWNERDOC =
          "ER_CONTEXT_HAS_NO_OWNERDOC";
   public static final String ER_LOCALNAME_HAS_TOO_MANY_ARGS =
          "ER_LOCALNAME_HAS_TOO_MANY_ARGS";
   public static final String ER_NAMESPACEURI_HAS_TOO_MANY_ARGS =

@@ -366,10 +367,13 @@
   { ER_CURRENT_TAKES_NO_ARGS, "The current() function does not accept arguments!" },
 
   { ER_DOCUMENT_REPLACED,
       "document() function implementation has been replaced by com.sun.org.apache.xalan.internal.xslt.FuncDocument!"},
 
+  { ER_CONTEXT_CAN_NOT_BE_NULL,
+      "The context can not be null when the operation is context-dependent."},
+  
   { ER_CONTEXT_HAS_NO_OWNERDOC,
       "context does not have an owner document!"},
 
   { ER_LOCALNAME_HAS_TOO_MANY_ARGS,
       "local-name() has too many arguments."},