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