rev 1063 : 8172974: [JAXP] XALAN: Wrong result when transforming namespace unaware StAX Input

   1 /*
   2  * Copyright (c) 2016, Oracle and/or its affiliates. All rights reserved.
   3  */
   4 /*
   5  * Licensed to the Apache Software Foundation (ASF) under one or more
   6  * contributor license agreements.  See the NOTICE file distributed with
   7  * this work for additional information regarding copyright ownership.
   8  * The ASF licenses this file to You under the Apache License, Version 2.0
   9  * (the "License"); you may not use this file except in compliance with
  10  * the License.  You may obtain a copy of the License at
  11  *
  12  *     http://www.apache.org/licenses/LICENSE-2.0
  13  *
  14  * Unless required by applicable law or agreed to in writing, software
  15  * distributed under the License is distributed on an "AS IS" BASIS,
  16  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  17  * See the License for the specific language governing permissions and
  18  * limitations under the License.
  19  */



  20 
  21 package com.sun.org.apache.xalan.internal.xsltc.compiler;
  22 
  23 import com.sun.org.apache.bcel.internal.generic.InstructionConstants;
  24 
  25 /**
  26  * @author Jacek Ambroziak
  27  * @author Santiago Pericas-Geertsen
  28  */
  29 public interface Constants extends InstructionConstants {
  30 
  31     // Error categories used to report errors to Parser.reportError()
  32 
  33     // Unexpected internal errors, such as null-ptr exceptions, etc.
  34     // Immediately terminates compilation, no translet produced
  35     public final int INTERNAL        = 0;
  36     // XSLT elements that are not implemented and unsupported ext.
  37     // Immediately terminates compilation, no translet produced
  38     public final int UNSUPPORTED     = 1;
  39     // Fatal error in the stylesheet input (parsing or content)
  40     // Immediately terminates compilation, no translet produced
  41     public final int FATAL           = 2;
  42     // Other error in the stylesheet input (parsing or content)
  43     // Does not terminate compilation, no translet produced
  44     public final int ERROR           = 3;
  45     // Other error in the stylesheet input (content errors only)
  46     // Does not terminate compilation, a translet is produced
  47     public final int WARNING         = 4;
  48 
  49     public static final String EMPTYSTRING = "";
  50 
  51     public static final String NAMESPACE_FEATURE =
  52         "http://xml.org/sax/features/namespaces";
  53 
  54     public static final String TRANSLET_INTF
  55         = "com.sun.org.apache.xalan.internal.xsltc.Translet";
  56     public static final String TRANSLET_INTF_SIG
  57         = "Lcom/sun/org/apache/xalan/internal/xsltc/Translet;";
  58 
  59     public static final String ATTRIBUTES_SIG
  60         = "Lcom/sun/org/apache/xalan/internal/xsltc/runtime/Attributes;";
  61     public static final String NODE_ITERATOR_SIG
  62         = "Lcom/sun/org/apache/xml/internal/dtm/DTMAxisIterator;";
  63     public static final String DOM_INTF_SIG
  64         = "Lcom/sun/org/apache/xalan/internal/xsltc/DOM;";
  65     public static final String DOM_IMPL_CLASS
  66         = "com/sun/org/apache/xalan/internal/xsltc/DOM"; // xml/dtm/ref/DTMDefaultBaseIterators"; //xalan/xsltc/dom/DOMImpl";
  67     public static final String SAX_IMPL_CLASS
  68         = "com/sun/org/apache/xalan/internal/xsltc/DOM/SAXImpl";
  69     public static final String DOM_IMPL_SIG
  70         = "Lcom/sun/org/apache/xalan/internal/xsltc/dom/SAXImpl;"; //xml/dtm/ref/DTMDefaultBaseIterators"; //xalan/xsltc/dom/DOMImpl;";
  71     public static final String SAX_IMPL_SIG
  72         = "Lcom/sun/org/apache/xalan/internal/xsltc/dom/SAXImpl;";
  73     public static final String DOM_ADAPTER_CLASS
  74         = "com/sun/org/apache/xalan/internal/xsltc/dom/DOMAdapter";
  75     public static final String DOM_ADAPTER_SIG
  76         = "Lcom/sun/org/apache/xalan/internal/xsltc/dom/DOMAdapter;";
  77     public static final String MULTI_DOM_CLASS
  78         = "com.sun.org.apache.xalan.internal.xsltc.dom.MultiDOM";
  79     public static final String MULTI_DOM_SIG
  80         = "Lcom/sun/org/apache/xalan/internal/xsltc/dom/MultiDOM;";
  81 
  82     public static final String STRING
  83         = "java.lang.String";
  84 
  85     public static final int ACC_PUBLIC
  86         = com.sun.org.apache.bcel.internal.Constants.ACC_PUBLIC;
  87     public static final int ACC_SUPER
  88         = com.sun.org.apache.bcel.internal.Constants.ACC_SUPER;
  89     public static final int ACC_FINAL
  90         = com.sun.org.apache.bcel.internal.Constants.ACC_FINAL;
  91     public static final int ACC_PRIVATE
  92         = com.sun.org.apache.bcel.internal.Constants.ACC_PRIVATE;
  93     public static final int ACC_PROTECTED
  94         = com.sun.org.apache.bcel.internal.Constants.ACC_PROTECTED;
  95     public static final int ACC_STATIC
  96         = com.sun.org.apache.bcel.internal.Constants.ACC_STATIC;
  97 
  98     public static final String MODULE_SIG
  99         = "Ljava/lang/reflect/Module;";
 100     public static final String CLASS_SIG
 101         = "Ljava/lang/Class;";
 102     public static final String STRING_SIG
 103         = "Ljava/lang/String;";
 104     public static final String STRING_BUFFER_SIG
 105         = "Ljava/lang/StringBuffer;";
 106     public static final String OBJECT_SIG
 107         = "Ljava/lang/Object;";
 108     public static final String DOUBLE_SIG
 109         = "Ljava/lang/Double;";
 110     public static final String INTEGER_SIG
 111         = "Ljava/lang/Integer;";
 112     public static final String COLLATOR_CLASS
 113         = "java/text/Collator";
 114     public static final String COLLATOR_SIG
 115         = "Ljava/text/Collator;";
 116 
 117     public static final String NODE
 118         = "int";
 119     public static final String NODE_ITERATOR
 120         = "com.sun.org.apache.xml.internal.dtm.DTMAxisIterator";
 121     public static final String NODE_ITERATOR_BASE
 122         = "com.sun.org.apache.xml.internal.dtm.ref.DTMAxisIteratorBase";
 123     public static final String SORT_ITERATOR
 124         = "com.sun.org.apache.xalan.internal.xsltc.dom.SortingIterator";
 125     public static final String SORT_ITERATOR_SIG
 126         = "Lcom.sun.org.apache.xalan.internal.xsltc.dom.SortingIterator;";
 127     public static final String NODE_SORT_RECORD
 128         = "com.sun.org.apache.xalan.internal.xsltc.dom.NodeSortRecord";
 129     public static final String NODE_SORT_FACTORY
 130         = "com/sun/org/apache/xalan/internal/xsltc/dom/NodeSortRecordFactory";
 131     public static final String NODE_SORT_RECORD_SIG
 132         = "Lcom/sun/org/apache/xalan/internal/xsltc/dom/NodeSortRecord;";
 133     public static final String NODE_SORT_FACTORY_SIG
 134         = "Lcom/sun/org/apache/xalan/internal/xsltc/dom/NodeSortRecordFactory;";
 135     public static final String LOCALE_CLASS
 136         = "java.util.Locale";
 137     public static final String LOCALE_SIG
 138         = "Ljava/util/Locale;";
 139     public static final String STRING_VALUE_HANDLER
 140         = "com.sun.org.apache.xalan.internal.xsltc.runtime.StringValueHandler";
 141     public static final String STRING_VALUE_HANDLER_SIG
 142         = "Lcom/sun/org/apache/xalan/internal/xsltc/runtime/StringValueHandler;";
 143     public static final String OUTPUT_HANDLER
 144         = "com/sun/org/apache/xml/internal/serializer/SerializationHandler";
 145     public static final String OUTPUT_HANDLER_SIG
 146         = "Lcom/sun/org/apache/xml/internal/serializer/SerializationHandler;";
 147     public static final String FILTER_INTERFACE
 148         = "com.sun.org.apache.xalan.internal.xsltc.dom.Filter";
 149     public static final String FILTER_INTERFACE_SIG
 150         = "Lcom/sun/org/apache/xalan/internal/xsltc/dom/Filter;";
 151     public static final String UNION_ITERATOR_CLASS
 152         = "com.sun.org.apache.xalan.internal.xsltc.dom.UnionIterator";
 153     public static final String STEP_ITERATOR_CLASS
 154         = "com.sun.org.apache.xalan.internal.xsltc.dom.StepIterator";
 155     public static final String CACHED_NODE_LIST_ITERATOR_CLASS
 156         = "com.sun.org.apache.xalan.internal.xsltc.dom.CachedNodeListIterator";
 157     public static final String NTH_ITERATOR_CLASS
 158         = "com.sun.org.apache.xalan.internal.xsltc.dom.NthIterator";
 159     public static final String ABSOLUTE_ITERATOR
 160         = "com.sun.org.apache.xalan.internal.xsltc.dom.AbsoluteIterator";
 161     public static final String DUP_FILTERED_ITERATOR
 162         = "com.sun.org.apache.xalan.internal.xsltc.dom.DupFilterIterator";
 163     public static final String CURRENT_NODE_LIST_ITERATOR
 164         = "com.sun.org.apache.xalan.internal.xsltc.dom.CurrentNodeListIterator";
 165     public static final String CURRENT_NODE_LIST_FILTER
 166         = "com.sun.org.apache.xalan.internal.xsltc.dom.CurrentNodeListFilter";
 167     public static final String CURRENT_NODE_LIST_ITERATOR_SIG
 168         = "Lcom/sun/org/apache/xalan/internal/xsltc/dom/CurrentNodeListIterator;";
 169     public static final String CURRENT_NODE_LIST_FILTER_SIG
 170         = "Lcom/sun/org/apache/xalan/internal/xsltc/dom/CurrentNodeListFilter;";
 171     public static final String FILTER_STEP_ITERATOR
 172         = "com.sun.org.apache.xalan.internal.xsltc.dom.FilteredStepIterator";
 173     public static final String FILTER_ITERATOR
 174         = "com.sun.org.apache.xalan.internal.xsltc.dom.FilterIterator";
 175     public static final String SINGLETON_ITERATOR
 176         = "com.sun.org.apache.xalan.internal.xsltc.dom.SingletonIterator";
 177     public static final String MATCHING_ITERATOR
 178         = "com.sun.org.apache.xalan.internal.xsltc.dom.MatchingIterator";
 179     public static final String NODE_SIG
 180         = "I";
 181     public static final String GET_PARENT
 182         = "getParent";
 183     public static final String GET_PARENT_SIG
 184         = "(" + NODE_SIG + ")" + NODE_SIG;
 185     public static final String NEXT_SIG
 186         = "()" + NODE_SIG;
 187     public static final String NEXT
 188         = "next";
 189     public static final String NEXTID
 190         = "nextNodeID";
 191     public static final String MAKE_NODE
 192         = "makeNode";
 193     public static final String MAKE_NODE_LIST
 194         = "makeNodeList";
 195     public static final String GET_UNPARSED_ENTITY_URI
 196         = "getUnparsedEntityURI";
 197     public static final String STRING_TO_REAL
 198         = "stringToReal";
 199     public static final String STRING_TO_REAL_SIG
 200         = "(" + STRING_SIG + ")D";
 201     public static final String STRING_TO_INT
 202         = "stringToInt";
 203     public static final String STRING_TO_INT_SIG
 204         = "(" + STRING_SIG + ")I";
 205 
 206     public static final String XSLT_PACKAGE
 207         = "com.sun.org.apache.xalan.internal.xsltc";
 208     public static final String COMPILER_PACKAGE
 209         = XSLT_PACKAGE + ".compiler";
 210     public static final String RUNTIME_PACKAGE
 211         = XSLT_PACKAGE + ".runtime";
 212     public static final String TRANSLET_CLASS
 213         = RUNTIME_PACKAGE + ".AbstractTranslet";
 214 
 215     public static final String TRANSLET_SIG
 216         = "Lcom/sun/org/apache/xalan/internal/xsltc/runtime/AbstractTranslet;";
 217     public static final String UNION_ITERATOR_SIG
 218         = "Lcom/sun/org/apache/xalan/internal/xsltc/dom/UnionIterator;";
 219     public static final String TRANSLET_OUTPUT_SIG
 220         = "Lcom/sun/org/apache/xml/internal/serializer/SerializationHandler;";
 221     public static final String MAKE_NODE_SIG
 222         = "(I)Lorg/w3c/dom/Node;";
 223     public static final String MAKE_NODE_SIG2
 224         = "(" + NODE_ITERATOR_SIG + ")Lorg/w3c/dom/Node;";
 225     public static final String MAKE_NODE_LIST_SIG
 226         = "(I)Lorg/w3c/dom/NodeList;";
 227     public static final String MAKE_NODE_LIST_SIG2
 228         = "(" + NODE_ITERATOR_SIG + ")Lorg/w3c/dom/NodeList;";
 229 
 230     public static final String STREAM_XML_OUTPUT
 231         = "com.sun.org.apache.xml.internal.serializer.ToXMLStream";
 232 
 233     public static final String OUTPUT_BASE
 234         = "com.sun.org.apache.xml.internal.serializer.SerializerBase";
 235 
 236     public static final String LOAD_DOCUMENT_CLASS
 237         = "com.sun.org.apache.xalan.internal.xsltc.dom.LoadDocument";
 238 
 239     public static final String KEY_INDEX_CLASS
 240         = "com/sun/org/apache/xalan/internal/xsltc/dom/KeyIndex";
 241     public static final String KEY_INDEX_SIG
 242         = "Lcom/sun/org/apache/xalan/internal/xsltc/dom/KeyIndex;";
 243 
 244     public static final String KEY_INDEX_ITERATOR_SIG
 245         = "Lcom/sun/org/apache/xalan/internal/xsltc/dom/KeyIndex$KeyIndexIterator;";
 246     public static final String DOM_INTF
 247         = "com.sun.org.apache.xalan.internal.xsltc.DOM";
 248     public static final String DOM_IMPL
 249         = "com.sun.org.apache.xalan.internal.xsltc.dom.SAXImpl";
 250     public static final String SAX_IMPL
 251         = "com.sun.org.apache.xalan.internal.xsltc.dom.SAXImpl";
 252     public static final String CLASS_CLASS
 253         = "java.lang.Class";
 254     public static final String MODULE_CLASS
 255         = "java.lang.reflect.Module";
 256     public static final String STRING_CLASS
 257         = "java.lang.String";
 258     public static final String OBJECT_CLASS
 259         = "java.lang.Object";
 260     public static final String BOOLEAN_CLASS
 261         = "java.lang.Boolean";
 262     public static final String STRING_BUFFER_CLASS
 263         = "java.lang.StringBuffer";
 264     public static final String STRING_WRITER
 265         = "java.io.StringWriter";
 266     public static final String WRITER_SIG
 267         = "Ljava/io/Writer;";
 268 
 269     public static final String TRANSLET_OUTPUT_BASE
 270         = "com.sun.org.apache.xalan.internal.xsltc.TransletOutputBase";
 271     // output interface
 272     public static final String TRANSLET_OUTPUT_INTERFACE
 273         = "com.sun.org.apache.xml.internal.serializer.SerializationHandler";
 274     public static final String BASIS_LIBRARY_CLASS
 275         = "com.sun.org.apache.xalan.internal.xsltc.runtime.BasisLibrary";
 276     public static final String ATTRIBUTE_LIST_IMPL_CLASS
 277         = "com.sun.org.apache.xalan.internal.xsltc.runtime.AttributeListImpl";
 278     public static final String DOUBLE_CLASS
 279         = "java.lang.Double";
 280     public static final String INTEGER_CLASS
 281         = "java.lang.Integer";
 282     public static final String RUNTIME_NODE_CLASS
 283         = "com.sun.org.apache.xalan.internal.xsltc.runtime.Node";
 284     public static final String MATH_CLASS
 285         = "java.lang.Math";
 286 
 287     public static final String BOOLEAN_VALUE
 288         = "booleanValue";
 289     public static final String BOOLEAN_VALUE_SIG
 290         = "()Z";
 291     public static final String INT_VALUE
 292         = "intValue";
 293     public static final String INT_VALUE_SIG
 294         = "()I";
 295     public static final String DOUBLE_VALUE
 296         = "doubleValue";
 297     public static final String DOUBLE_VALUE_SIG
 298         = "()D";
 299 
 300     public static final String DOM_PNAME
 301         = "dom";
 302     public static final String NODE_PNAME
 303         = "node";
 304     public static final String TRANSLET_OUTPUT_PNAME
 305         = "handler";
 306     public static final String ITERATOR_PNAME
 307         = "iterator";
 308     public static final String DOCUMENT_PNAME
 309         = "document";
 310     public static final String TRANSLET_PNAME
 311         = "translet";
 312 
 313     public static final String INVOKE_METHOD
 314         = "invokeMethod";
 315     public static final String GET_NODE_NAME
 316         = "getNodeNameX";
 317     public static final String CHARACTERSW
 318         = "characters";
 319     public static final String GET_CHILDREN
 320         = "getChildren";
 321     public static final String GET_TYPED_CHILDREN
 322         = "getTypedChildren";
 323     public static final String CHARACTERS
 324         = "characters";
 325     public static final String APPLY_TEMPLATES
 326         = "applyTemplates";
 327     public static final String GET_NODE_TYPE
 328         = "getNodeType";
 329     public static final String GET_NODE_VALUE
 330         = "getStringValueX";
 331     public static final String GET_ELEMENT_VALUE
 332         = "getElementValue";
 333     public static final String GET_ATTRIBUTE_VALUE
 334         = "getAttributeValue";
 335     public static final String HAS_ATTRIBUTE
 336         = "hasAttribute";
 337     public static final String ADD_ITERATOR
 338         = "addIterator";
 339     public static final String SET_START_NODE
 340         = "setStartNode";
 341     public static final String RESET
 342         = "reset";
 343     public static final String GET_MODULE
 344         = "getModule";
 345     public static final String FOR_NAME
 346         = "forName";
 347     public static final String ADD_READS
 348         = "addReads";
 349 
 350     public static final String GET_MODULE_SIG
 351         = "()" + MODULE_SIG;
 352     public static final String FOR_NAME_SIG
 353         = "(" + STRING_SIG + ")" + CLASS_SIG;
 354     public static final String ADD_READS_SIG
 355         = "(" + MODULE_SIG + ")" + MODULE_SIG;
 356 
 357     public static final String ATTR_SET_SIG
 358         = "(" + DOM_INTF_SIG  + NODE_ITERATOR_SIG + TRANSLET_OUTPUT_SIG + "I)V";
 359 
 360     public static final String GET_NODE_NAME_SIG
 361         = "(" + NODE_SIG + ")" + STRING_SIG;
 362     public static final String CHARACTERSW_SIG
 363         = "("  + STRING_SIG + TRANSLET_OUTPUT_SIG + ")V";
 364     public static final String CHARACTERS_SIG
 365         = "(" + NODE_SIG + TRANSLET_OUTPUT_SIG + ")V";
 366     public static final String GET_CHILDREN_SIG
 367         = "(" + NODE_SIG +")" + NODE_ITERATOR_SIG;
 368     public static final String GET_TYPED_CHILDREN_SIG
 369         = "(I)" + NODE_ITERATOR_SIG;
 370     public static final String GET_NODE_TYPE_SIG
 371         = "()S";
 372     public static final String GET_NODE_VALUE_SIG
 373         = "(I)" + STRING_SIG;
 374     public static final String GET_ELEMENT_VALUE_SIG
 375         = "(I)" + STRING_SIG;
 376     public static final String GET_ATTRIBUTE_VALUE_SIG
 377         = "(II)" + STRING_SIG;
 378     public static final String HAS_ATTRIBUTE_SIG
 379         = "(II)Z";
 380     public static final String GET_ITERATOR_SIG
 381         = "()" + NODE_ITERATOR_SIG;
 382 
 383     public static final String NAMES_INDEX
 384         = "namesArray";
 385     public static final String NAMES_INDEX_SIG
 386         = "[" + STRING_SIG;
 387     public static final String URIS_INDEX
 388        = "urisArray";
 389     public static final String URIS_INDEX_SIG
 390        = "[" + STRING_SIG;
 391     public static final String TYPES_INDEX
 392        = "typesArray";
 393     public static final String TYPES_INDEX_SIG
 394        = "[I";
 395     public static final String NAMESPACE_INDEX
 396         = "namespaceArray";
 397     public static final String NAMESPACE_INDEX_SIG
 398         = "[" + STRING_SIG;
 399     public static final String HASIDCALL_INDEX
 400         = "_hasIdCall";
 401     public static final String HASIDCALL_INDEX_SIG
 402         = "Z";
 403     public static final String TRANSLET_VERSION_INDEX
 404         = "transletVersion";
 405     public static final String TRANSLET_VERSION_INDEX_SIG
 406         = "I";
 407 
 408     public static final String DOM_FIELD
 409         = "_dom";
 410     public static final String STATIC_NAMES_ARRAY_FIELD
 411         = "_sNamesArray";
 412     public static final String STATIC_URIS_ARRAY_FIELD
 413         = "_sUrisArray";
 414     public static final String STATIC_TYPES_ARRAY_FIELD
 415         = "_sTypesArray";
 416     public static final String STATIC_NAMESPACE_ARRAY_FIELD
 417         = "_sNamespaceArray";
 418     public static final String STATIC_CHAR_DATA_FIELD
 419         = "_scharData";
 420     public static final String STATIC_CHAR_DATA_FIELD_SIG
 421         = "[C";
 422     public static final String FORMAT_SYMBOLS_FIELD
 423         = "format_symbols";
 424 
 425     public static final String ITERATOR_FIELD_SIG
 426         = NODE_ITERATOR_SIG;
 427     public static final String NODE_FIELD
 428         = "node";
 429     public static final String NODE_FIELD_SIG
 430         = "I";
 431 
 432     public static final String EMPTYATTR_FIELD
 433         = "EmptyAttributes";
 434     public static final String ATTRIBUTE_LIST_FIELD
 435         = "attributeList";
 436     public static final String CLEAR_ATTRIBUTES
 437         = "clear";
 438     public static final String ADD_ATTRIBUTE
 439         = "addAttribute";
 440     public static final String ATTRIBUTE_LIST_IMPL_SIG
 441         = "Lcom/sun/org/apache/xalan/internal/xsltc/runtime/AttributeListImpl;";
 442     public static final String CLEAR_ATTRIBUTES_SIG
 443         = "()" + ATTRIBUTE_LIST_IMPL_SIG;
 444     public static final String ADD_ATTRIBUTE_SIG
 445         = "(" + STRING_SIG + STRING_SIG + ")" + ATTRIBUTE_LIST_IMPL_SIG;
 446 
 447     public static final String ADD_ITERATOR_SIG
 448         = "(" + NODE_ITERATOR_SIG +")" + UNION_ITERATOR_SIG;
 449 
 450     public static final String ORDER_ITERATOR
 451         = "orderNodes";
 452     public static final String ORDER_ITERATOR_SIG
 453         = "("+NODE_ITERATOR_SIG+"I)"+NODE_ITERATOR_SIG;
 454 
 455     public static final String SET_START_NODE_SIG
 456         = "(" + NODE_SIG + ")" + NODE_ITERATOR_SIG;
 457 
 458     public static final String NODE_COUNTER
 459         = "com.sun.org.apache.xalan.internal.xsltc.dom.NodeCounter";
 460     public static final String NODE_COUNTER_SIG
 461         = "Lcom/sun/org/apache/xalan/internal/xsltc/dom/NodeCounter;";
 462     public static final String DEFAULT_NODE_COUNTER
 463         = "com.sun.org.apache.xalan.internal.xsltc.dom.DefaultNodeCounter";
 464     public static final String DEFAULT_NODE_COUNTER_SIG
 465         = "Lcom/sun/org/apache/xalan/internal/xsltc/dom/DefaultNodeCounter;";
 466     public static final String TRANSLET_FIELD
 467         = "translet";
 468     public static final String TRANSLET_FIELD_SIG
 469         = TRANSLET_SIG;
 470 
 471     public static final String RESET_SIG
 472         = "()" + NODE_ITERATOR_SIG;
 473     public static final String GET_PARAMETER
 474         = "getParameter";
 475     public static final String ADD_PARAMETER
 476         = "addParameter";
 477     public static final String PUSH_PARAM_FRAME
 478         = "pushParamFrame";
 479     public static final String PUSH_PARAM_FRAME_SIG
 480         = "()V";
 481     public static final String POP_PARAM_FRAME
 482         = "popParamFrame";
 483     public static final String POP_PARAM_FRAME_SIG
 484         = "()V";
 485     public static final String GET_PARAMETER_SIG
 486         = "(" + STRING_SIG + ")" + OBJECT_SIG;
 487     public static final String ADD_PARAMETER_SIG
 488         = "(" + STRING_SIG + OBJECT_SIG + "Z)" + OBJECT_SIG;
 489 
 490     public static final String STRIP_SPACE
 491         = "stripSpace";
 492     public static final String STRIP_SPACE_INTF
 493         = "com/sun/org/apache/xalan/internal/xsltc/StripFilter";
 494     public static final String STRIP_SPACE_SIG
 495         = "Lcom/sun/org/apache/xalan/internal/xsltc/StripFilter;";
 496     public static final String STRIP_SPACE_PARAMS
 497         = "(Lcom/sun/org/apache/xalan/internal/xsltc/DOM;II)Z";
 498 
 499     public static final String GET_NODE_VALUE_ITERATOR
 500         = "getNodeValueIterator";
 501     public static final String GET_NODE_VALUE_ITERATOR_SIG
 502         = "("+NODE_ITERATOR_SIG+"I"+STRING_SIG+"Z)"+NODE_ITERATOR_SIG;
 503 
 504     public static final String GET_UNPARSED_ENTITY_URI_SIG
 505         = "("+STRING_SIG+")"+STRING_SIG;
 506 
 507     public static final int POSITION_INDEX = 2;
 508     public static final int LAST_INDEX     = 3;
 509 
 510     public static final String XMLNS_PREFIX = "xmlns";
 511     public static final String XMLNS_STRING = "xmlns:";
 512     public static final String XMLNS_URI
 513         = "http://www.w3.org/2000/xmlns/";
 514     public static final String XSLT_URI
 515         = "http://www.w3.org/1999/XSL/Transform";
 516     public static final String XHTML_URI
 517         = "http://www.w3.org/1999/xhtml";
 518     public static final String TRANSLET_URI
 519         = "http://xml.apache.org/xalan/xsltc";
 520     public static final String REDIRECT_URI
 521         = "http://xml.apache.org/xalan/redirect";
 522     public static final String FALLBACK_CLASS
 523         = "com.sun.org.apache.xalan.internal.xsltc.compiler.Fallback";
 524 
 525     public static final int RTF_INITIAL_SIZE = 32;
 526 
 527     // the API packages used by generated translet classes
 528     public static String[] PKGS_USED_BY_TRANSLET_CLASSES = {
 529         "com.sun.org.apache.xalan.internal.lib",
 530         "com.sun.org.apache.xalan.internal.xsltc",
 531         "com.sun.org.apache.xalan.internal.xsltc.runtime",
 532         "com.sun.org.apache.xalan.internal.xsltc.dom",
 533         "com.sun.org.apache.xml.internal.serializer",
 534         "com.sun.org.apache.xml.internal.dtm",
 535         "com.sun.org.apache.xml.internal.dtm.ref",
 536     };
 537 }
--- EOF ---