001    /*
002     * Licensed to the Apache Software Foundation (ASF) under one
003     * or more contributor license agreements. See the NOTICE file
004     * distributed with this work for additional information
005     * regarding copyright ownership. The ASF licenses this file
006     * to you under the Apache License, Version 2.0 (the  "License");
007     * you may not use this file except in compliance with the License.
008     * You may obtain a copy of the License at
009     *
010     *     http://www.apache.org/licenses/LICENSE-2.0
011     *
012     * Unless required by applicable law or agreed to in writing, software
013     * distributed under the License is distributed on an "AS IS" BASIS,
014     * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
015     * See the License for the specific language governing permissions and
016     * limitations under the License.
017     */
018    /*
019     * $Id: Constants.java 468650 2006-10-28 07:03:30Z minchau $
020     */
021    
022    package org.apache.xalan.xsltc.compiler;
023    
024    import org.apache.bcel.generic.InstructionConstants;
025    import org.apache.xml.serializer.SerializerBase;
026    
027    /**
028     * @author Jacek Ambroziak
029     * @author Santiago Pericas-Geertsen
030     */
031    public interface Constants extends InstructionConstants {
032    
033        // Error categories used to report errors to Parser.reportError()
034    
035        // Unexpected internal errors, such as null-ptr exceptions, etc.
036        // Immediately terminates compilation, no translet produced
037        public final int INTERNAL        = 0;
038        // XSLT elements that are not implemented and unsupported ext.
039        // Immediately terminates compilation, no translet produced
040        public final int UNSUPPORTED     = 1;
041        // Fatal error in the stylesheet input (parsing or content)
042        // Immediately terminates compilation, no translet produced
043        public final int FATAL           = 2;
044        // Other error in the stylesheet input (parsing or content)
045        // Does not terminate compilation, no translet produced
046        public final int ERROR           = 3;
047        // Other error in the stylesheet input (content errors only)
048        // Does not terminate compilation, a translet is produced
049        public final int WARNING         = 4;
050    
051        public static final String EMPTYSTRING = "";
052    
053        public static final String NAMESPACE_FEATURE =
054            "http://xml.org/sax/features/namespaces";
055    
056        public static final String TRANSLET_INTF
057            = "org.apache.xalan.xsltc.Translet";
058        public static final String TRANSLET_INTF_SIG        
059            = "Lorg/apache/xalan/xsltc/Translet;";
060        
061        public static final String ATTRIBUTES_SIG 
062            = "Lorg/apache/xalan/xsltc/runtime/Attributes;";
063        public static final String NODE_ITERATOR_SIG
064            = "Lorg/apache/xml/dtm/DTMAxisIterator;";
065        public static final String DOM_INTF_SIG
066            = "Lorg/apache/xalan/xsltc/DOM;";
067        public static final String DOM_IMPL_CLASS
068            = "org/apache/xalan/xsltc/DOM"; // xml/dtm/ref/DTMDefaultBaseIterators"; //xalan/xsltc/dom/DOMImpl";
069            public static final String SAX_IMPL_CLASS
070            = "org/apache/xalan/xsltc/DOM/SAXImpl"; 
071        public static final String DOM_IMPL_SIG
072            = "Lorg/apache/xalan/xsltc/dom/SAXImpl;"; //xml/dtm/ref/DTMDefaultBaseIterators"; //xalan/xsltc/dom/DOMImpl;";
073            public static final String SAX_IMPL_SIG
074            = "Lorg/apache/xalan/xsltc/dom/SAXImpl;";
075        public static final String DOM_ADAPTER_CLASS
076            = "org/apache/xalan/xsltc/dom/DOMAdapter";
077        public static final String DOM_ADAPTER_SIG
078            = "Lorg/apache/xalan/xsltc/dom/DOMAdapter;";
079        public static final String MULTI_DOM_CLASS
080            = "org.apache.xalan.xsltc.dom.MultiDOM";
081        public static final String MULTI_DOM_SIG
082            = "Lorg/apache/xalan/xsltc/dom/MultiDOM;";
083    
084        public static final String STRING    
085            = "java.lang.String";
086    
087        public static final int ACC_PUBLIC    
088            = org.apache.bcel.Constants.ACC_PUBLIC;
089        public static final int ACC_SUPER     
090            = org.apache.bcel.Constants.ACC_SUPER;
091        public static final int ACC_FINAL     
092            = org.apache.bcel.Constants.ACC_FINAL;
093        public static final int ACC_PRIVATE   
094            = org.apache.bcel.Constants.ACC_PRIVATE;
095        public static final int ACC_PROTECTED 
096            = org.apache.bcel.Constants.ACC_PROTECTED;
097        public static final int ACC_STATIC
098            = org.apache.bcel.Constants.ACC_STATIC;
099    
100        public static final String STRING_SIG         
101            = "Ljava/lang/String;";
102        public static final String STRING_BUFFER_SIG  
103            = "Ljava/lang/StringBuffer;";
104        public static final String OBJECT_SIG         
105            = "Ljava/lang/Object;";
106        public static final String DOUBLE_SIG         
107            = "Ljava/lang/Double;";
108        public static final String INTEGER_SIG        
109            = "Ljava/lang/Integer;";
110        public static final String COLLATOR_CLASS
111            = "java/text/Collator";
112        public static final String COLLATOR_SIG
113            = "Ljava/text/Collator;";
114    
115        public static final String NODE               
116            = "int";
117        public static final String NODE_ITERATOR      
118            = "org.apache.xml.dtm.DTMAxisIterator";
119        public static final String NODE_ITERATOR_BASE
120            = "org.apache.xml.dtm.ref.DTMAxisIteratorBase";
121        public static final String SORT_ITERATOR      
122            = "org.apache.xalan.xsltc.dom.SortingIterator";
123        public static final String SORT_ITERATOR_SIG     
124            = "Lorg.apache.xalan.xsltc.dom.SortingIterator;";
125        public static final String NODE_SORT_RECORD 
126            = "org.apache.xalan.xsltc.dom.NodeSortRecord";
127        public static final String NODE_SORT_FACTORY
128            = "org/apache/xalan/xsltc/dom/NodeSortRecordFactory";
129        public static final String NODE_SORT_RECORD_SIG 
130            = "Lorg/apache/xalan/xsltc/dom/NodeSortRecord;";
131        public static final String NODE_SORT_FACTORY_SIG
132            = "Lorg/apache/xalan/xsltc/dom/NodeSortRecordFactory;";
133        public static final String LOCALE_CLASS
134            = "java.util.Locale";
135        public static final String LOCALE_SIG 
136            = "Ljava/util/Locale;";
137        public static final String STRING_VALUE_HANDLER
138            = "org.apache.xalan.xsltc.runtime.StringValueHandler";
139        public static final String STRING_VALUE_HANDLER_SIG 
140            = "Lorg/apache/xalan/xsltc/runtime/StringValueHandler;";
141        public static final String OUTPUT_HANDLER
142            = SerializerBase.PKG_PATH+"/SerializationHandler";
143        public static final String OUTPUT_HANDLER_SIG
144            = "L"+SerializerBase.PKG_PATH+"/SerializationHandler;";
145        public static final String FILTER_INTERFACE   
146            = "org.apache.xalan.xsltc.dom.Filter";
147        public static final String FILTER_INTERFACE_SIG   
148            = "Lorg/apache/xalan/xsltc/dom/Filter;";
149        public static final String UNION_ITERATOR_CLASS
150            = "org.apache.xalan.xsltc.dom.UnionIterator";
151        public static final String STEP_ITERATOR_CLASS
152            = "org.apache.xalan.xsltc.dom.StepIterator";
153        public static final String CACHED_NODE_LIST_ITERATOR_CLASS
154            = "org.apache.xalan.xsltc.dom.CachedNodeListIterator";  
155        public static final String NTH_ITERATOR_CLASS
156            = "org.apache.xalan.xsltc.dom.NthIterator";
157        public static final String ABSOLUTE_ITERATOR
158            = "org.apache.xalan.xsltc.dom.AbsoluteIterator";
159        public static final String DUP_FILTERED_ITERATOR
160            = "org.apache.xalan.xsltc.dom.DupFilterIterator";
161        public static final String CURRENT_NODE_LIST_ITERATOR
162            = "org.apache.xalan.xsltc.dom.CurrentNodeListIterator";
163        public static final String CURRENT_NODE_LIST_FILTER
164            = "org.apache.xalan.xsltc.dom.CurrentNodeListFilter";
165        public static final String CURRENT_NODE_LIST_ITERATOR_SIG 
166            = "Lorg/apache/xalan/xsltc/dom/CurrentNodeListIterator;";
167        public static final String CURRENT_NODE_LIST_FILTER_SIG
168            = "Lorg/apache/xalan/xsltc/dom/CurrentNodeListFilter;";
169        public static final String FILTER_STEP_ITERATOR 
170            = "org.apache.xalan.xsltc.dom.FilteredStepIterator";
171        public static final String FILTER_ITERATOR 
172            = "org.apache.xalan.xsltc.dom.FilterIterator";
173        public static final String SINGLETON_ITERATOR 
174            = "org.apache.xalan.xsltc.dom.SingletonIterator";
175        public static final String MATCHING_ITERATOR 
176            = "org.apache.xalan.xsltc.dom.MatchingIterator";
177        public static final String NODE_SIG           
178            = "I";
179        public static final String GET_PARENT         
180            = "getParent";
181        public static final String GET_PARENT_SIG     
182            = "(" + NODE_SIG + ")" + NODE_SIG;
183        public static final String NEXT_SIG           
184            = "()" + NODE_SIG;
185        public static final String NEXT               
186            = "next";
187            public static final String NEXTID               
188            = "nextNodeID";
189        public static final String MAKE_NODE          
190            = "makeNode";
191        public static final String MAKE_NODE_LIST     
192            = "makeNodeList";
193        public static final String GET_UNPARSED_ENTITY_URI
194            = "getUnparsedEntityURI";
195        public static final String STRING_TO_REAL     
196            = "stringToReal";
197        public static final String STRING_TO_REAL_SIG 
198            = "(" + STRING_SIG + ")D";
199        public static final String STRING_TO_INT     
200            = "stringToInt";
201        public static final String STRING_TO_INT_SIG 
202            = "(" + STRING_SIG + ")I";
203    
204        public static final String XSLT_PACKAGE       
205            = "org.apache.xalan.xsltc";
206        public static final String COMPILER_PACKAGE   
207            = XSLT_PACKAGE + ".compiler";
208        public static final String RUNTIME_PACKAGE    
209            = XSLT_PACKAGE + ".runtime";
210        public static final String TRANSLET_CLASS     
211            = RUNTIME_PACKAGE + ".AbstractTranslet";
212    
213        public static final String TRANSLET_SIG        
214            = "Lorg/apache/xalan/xsltc/runtime/AbstractTranslet;";
215        public static final String UNION_ITERATOR_SIG  
216            = "Lorg/apache/xalan/xsltc/dom/UnionIterator;";
217        public static final String TRANSLET_OUTPUT_SIG    
218            = "L"+SerializerBase.PKG_PATH+"/SerializationHandler;";
219        public static final String MAKE_NODE_SIG       
220            = "(I)Lorg/w3c/dom/Node;";
221        public static final String MAKE_NODE_SIG2      
222            = "(" + NODE_ITERATOR_SIG + ")Lorg/w3c/dom/Node;";
223        public static final String MAKE_NODE_LIST_SIG  
224            = "(I)Lorg/w3c/dom/NodeList;";
225        public static final String MAKE_NODE_LIST_SIG2 
226            = "(" + NODE_ITERATOR_SIG + ")Lorg/w3c/dom/NodeList;";
227        
228        public static final String STREAM_XML_OUTPUT
229        = SerializerBase.PKG_NAME+".ToXMLStream";
230        
231        public static final String OUTPUT_BASE
232        = SerializerBase.PKG_NAME+".SerializerBase";
233        
234        public static final String LOAD_DOCUMENT_CLASS
235            = "org.apache.xalan.xsltc.dom.LoadDocument";
236    
237        public static final String KEY_INDEX_CLASS
238            = "org/apache/xalan/xsltc/dom/KeyIndex";
239        public static final String KEY_INDEX_SIG
240            = "Lorg/apache/xalan/xsltc/dom/KeyIndex;";
241        public static final String KEY_INDEX_ITERATOR_SIG
242            = "Lorg/apache/xalan/xsltc/dom/KeyIndex$KeyIndexIterator;";
243    
244        public static final String DOM_INTF
245            = "org.apache.xalan.xsltc.DOM";
246        public static final String DOM_IMPL
247            = "org.apache.xalan.xsltc.dom.SAXImpl";
248            public static final String SAX_IMPL
249            = "org.apache.xalan.xsltc.dom.SAXImpl";
250        public static final String STRING_CLASS             
251            = "java.lang.String";
252        public static final String OBJECT_CLASS             
253            = "java.lang.Object";
254        public static final String BOOLEAN_CLASS            
255            = "java.lang.Boolean";
256        public static final String STRING_BUFFER_CLASS
257            = "java.lang.StringBuffer";
258        public static final String STRING_WRITER
259            = "java.io.StringWriter";
260        public static final String WRITER_SIG
261            = "Ljava/io/Writer;";
262    
263        public static final String TRANSLET_OUTPUT_BASE       
264            = "org.apache.xalan.xsltc.TransletOutputBase";
265        // output interface
266        public static final String TRANSLET_OUTPUT_INTERFACE
267            = SerializerBase.PKG_NAME+".SerializationHandler";
268        public static final String BASIS_LIBRARY_CLASS 
269            = "org.apache.xalan.xsltc.runtime.BasisLibrary";
270        public static final String ATTRIBUTE_LIST_IMPL_CLASS 
271            = "org.apache.xalan.xsltc.runtime.AttributeListImpl";
272        public static final String DOUBLE_CLASS       
273            = "java.lang.Double";
274        public static final String INTEGER_CLASS      
275            = "java.lang.Integer";
276        public static final String RUNTIME_NODE_CLASS 
277            = "org.apache.xalan.xsltc.runtime.Node";
278        public static final String MATH_CLASS         
279            = "java.lang.Math";
280    
281        public static final String BOOLEAN_VALUE      
282            = "booleanValue";
283        public static final String BOOLEAN_VALUE_SIG  
284            = "()Z";
285        public static final String INT_VALUE          
286            = "intValue";
287        public static final String INT_VALUE_SIG      
288            = "()I";
289        public static final String DOUBLE_VALUE       
290            = "doubleValue";
291        public static final String DOUBLE_VALUE_SIG   
292            = "()D";
293        
294        public static final String DOM_PNAME         
295      = "dom";
296        public static final String NODE_PNAME         
297            = "node";
298        public static final String TRANSLET_OUTPUT_PNAME 
299            = "handler";
300        public static final String ITERATOR_PNAME     
301            = "iterator";
302        public static final String DOCUMENT_PNAME     
303            = "document";
304        public static final String TRANSLET_PNAME     
305            = "translet";
306    
307        public static final String INVOKE_METHOD
308            = "invokeMethod";
309        public static final String GET_NODE_NAME      
310            = "getNodeNameX";
311        public static final String CHARACTERSW        
312            = "characters";
313        public static final String GET_CHILDREN       
314            = "getChildren";
315        public static final String GET_TYPED_CHILDREN 
316            = "getTypedChildren";
317        public static final String CHARACTERS         
318            = "characters";
319        public static final String APPLY_TEMPLATES    
320            = "applyTemplates";
321        public static final String GET_NODE_TYPE      
322            = "getNodeType";
323        public static final String GET_NODE_VALUE     
324            = "getStringValueX";
325        public static final String GET_ELEMENT_VALUE  
326            = "getElementValue";
327        public static final String GET_ATTRIBUTE_VALUE  
328            = "getAttributeValue";
329        public static final String HAS_ATTRIBUTE      
330            = "hasAttribute";
331        public static final String ADD_ITERATOR       
332            = "addIterator";
333        public static final String SET_START_NODE     
334            = "setStartNode";
335        public static final String RESET                
336            = "reset";
337    
338        public static final String ATTR_SET_SIG
339            = "(" + DOM_INTF_SIG  + NODE_ITERATOR_SIG + TRANSLET_OUTPUT_SIG + ")V";
340    
341        public static final String GET_NODE_NAME_SIG   
342            = "(" + NODE_SIG + ")" + STRING_SIG;
343        public static final String CHARACTERSW_SIG     
344            = "("  + STRING_SIG + TRANSLET_OUTPUT_SIG + ")V";
345        public static final String CHARACTERS_SIG     
346            = "(" + NODE_SIG + TRANSLET_OUTPUT_SIG + ")V";
347        public static final String GET_CHILDREN_SIG
348            = "(" + NODE_SIG +")" + NODE_ITERATOR_SIG;
349        public static final String GET_TYPED_CHILDREN_SIG
350            = "(I)" + NODE_ITERATOR_SIG;
351        public static final String GET_NODE_TYPE_SIG
352            = "()S";
353        public static final String GET_NODE_VALUE_SIG
354            = "(I)" + STRING_SIG;
355        public static final String GET_ELEMENT_VALUE_SIG
356            = "(I)" + STRING_SIG;
357        public static final String GET_ATTRIBUTE_VALUE_SIG
358            = "(II)" + STRING_SIG;
359        public static final String HAS_ATTRIBUTE_SIG
360            = "(II)Z";
361        public static final String GET_ITERATOR_SIG
362            = "()" + NODE_ITERATOR_SIG;
363    
364        public static final String NAMES_INDEX
365            = "namesArray";
366        public static final String NAMES_INDEX_SIG
367            = "[" + STRING_SIG;
368        public static final String URIS_INDEX
369           = "urisArray";
370        public static final String URIS_INDEX_SIG
371           = "[" + STRING_SIG;
372        public static final String TYPES_INDEX
373           = "typesArray";
374        public static final String TYPES_INDEX_SIG
375           = "[I";
376        public static final String NAMESPACE_INDEX
377            = "namespaceArray";
378        public static final String NAMESPACE_INDEX_SIG
379            = "[" + STRING_SIG;
380        public static final String NS_ANCESTORS_INDEX_SIG
381            = "[I";
382        public static final String PREFIX_URIS_IDX_SIG
383            = "[I";
384        public static final String PREFIX_URIS_ARRAY_SIG
385            = "[" + STRING_SIG;
386        public static final String HASIDCALL_INDEX
387            = "_hasIdCall";
388        public static final String HASIDCALL_INDEX_SIG
389            = "Z";
390        public static final String TRANSLET_VERSION_INDEX
391            = "transletVersion";
392        public static final String TRANSLET_VERSION_INDEX_SIG
393            = "I";
394        public static final String LOOKUP_STYLESHEET_QNAME_NS_REF
395            = "lookupStylesheetQNameNamespace";
396        public static final String LOOKUP_STYLESHEET_QNAME_NS_SIG
397            = "(" + STRING_SIG
398                  + "I"
399                  + NS_ANCESTORS_INDEX_SIG
400                  + PREFIX_URIS_IDX_SIG
401                  + PREFIX_URIS_ARRAY_SIG
402                  + "Z)" + STRING_SIG;
403        public static final String EXPAND_STYLESHEET_QNAME_REF
404            = "expandStylesheetQNameRef";
405        public static final String EXPAND_STYLESHEET_QNAME_SIG
406            = "(" + STRING_SIG
407                  + "I"
408                  + NS_ANCESTORS_INDEX_SIG
409                  + PREFIX_URIS_IDX_SIG
410                  + PREFIX_URIS_ARRAY_SIG
411                  + "Z)" + STRING_SIG;
412    
413        public static final String DOM_FIELD
414            = "_dom";
415        public static final String STATIC_NAMES_ARRAY_FIELD
416            = "_sNamesArray";
417        public static final String STATIC_URIS_ARRAY_FIELD
418            = "_sUrisArray";
419        public static final String STATIC_TYPES_ARRAY_FIELD
420            = "_sTypesArray";
421        public static final String STATIC_NAMESPACE_ARRAY_FIELD
422            = "_sNamespaceArray";
423        public static final String STATIC_NS_ANCESTORS_ARRAY_FIELD
424            = "_sNamespaceAncestorsArray";
425        public static final String STATIC_PREFIX_URIS_IDX_ARRAY_FIELD
426            = "_sPrefixURIsIdxArray";
427        public static final String STATIC_PREFIX_URIS_ARRAY_FIELD
428            = "_sPrefixURIPairsArray";
429        public static final String STATIC_CHAR_DATA_FIELD
430            = "_scharData";
431        public static final String STATIC_CHAR_DATA_FIELD_SIG
432            = "[C";
433        public static final String FORMAT_SYMBOLS_FIELD      
434            = "format_symbols";
435    
436        public static final String ITERATOR_FIELD_SIG      
437            = NODE_ITERATOR_SIG;
438        public static final String NODE_FIELD                
439            = "node";
440        public static final String NODE_FIELD_SIG            
441            = "I";
442            
443        public static final String EMPTYATTR_FIELD       
444            = "EmptyAttributes";
445        public static final String ATTRIBUTE_LIST_FIELD    
446            = "attributeList";
447        public static final String CLEAR_ATTRIBUTES        
448            = "clear";
449        public static final String ADD_ATTRIBUTE           
450            = "addAttribute";
451        public static final String ATTRIBUTE_LIST_IMPL_SIG 
452            = "Lorg/apache/xalan/xsltc/runtime/AttributeListImpl;";
453        public static final String CLEAR_ATTRIBUTES_SIG    
454            = "()" + ATTRIBUTE_LIST_IMPL_SIG;
455        public static final String ADD_ATTRIBUTE_SIG   
456            = "(" + STRING_SIG + STRING_SIG + ")" + ATTRIBUTE_LIST_IMPL_SIG;
457            
458        public static final String ADD_ITERATOR_SIG   
459            = "(" + NODE_ITERATOR_SIG +")" + UNION_ITERATOR_SIG;
460    
461        public static final String ORDER_ITERATOR
462            = "orderNodes";
463        public static final String ORDER_ITERATOR_SIG
464            = "("+NODE_ITERATOR_SIG+"I)"+NODE_ITERATOR_SIG;
465            
466        public static final String SET_START_NODE_SIG   
467            = "(" + NODE_SIG + ")" + NODE_ITERATOR_SIG;
468    
469        public static final String NODE_COUNTER 
470            = "org.apache.xalan.xsltc.dom.NodeCounter";
471        public static final String NODE_COUNTER_SIG 
472            = "Lorg/apache/xalan/xsltc/dom/NodeCounter;";
473        public static final String DEFAULT_NODE_COUNTER 
474            = "org.apache.xalan.xsltc.dom.DefaultNodeCounter";
475        public static final String DEFAULT_NODE_COUNTER_SIG 
476            = "Lorg/apache/xalan/xsltc/dom/DefaultNodeCounter;";
477        public static final String TRANSLET_FIELD 
478            = "translet";
479        public static final String TRANSLET_FIELD_SIG 
480            = TRANSLET_SIG;
481    
482        public static final String RESET_SIG               
483            = "()" + NODE_ITERATOR_SIG;
484        public static final String GET_PARAMETER      
485            = "getParameter";
486        public static final String ADD_PARAMETER         
487            = "addParameter";
488        public static final String PUSH_PARAM_FRAME
489            = "pushParamFrame";
490        public static final String PUSH_PARAM_FRAME_SIG  
491            = "()V";
492        public static final String POP_PARAM_FRAME       
493            = "popParamFrame";
494        public static final String POP_PARAM_FRAME_SIG   
495            = "()V";
496        public static final String GET_PARAMETER_SIG     
497            = "(" + STRING_SIG + ")" + OBJECT_SIG;
498        public static final String ADD_PARAMETER_SIG
499            = "(" + STRING_SIG + OBJECT_SIG + "Z)" + OBJECT_SIG;
500    
501        public static final String STRIP_SPACE
502            = "stripSpace";
503        public static final String STRIP_SPACE_INTF
504            = "org/apache/xalan/xsltc/StripFilter";
505        public static final String STRIP_SPACE_SIG
506            = "Lorg/apache/xalan/xsltc/StripFilter;";
507        public static final String STRIP_SPACE_PARAMS
508            = "(Lorg/apache/xalan/xsltc/DOM;II)Z";
509    
510        public static final String GET_NODE_VALUE_ITERATOR
511            = "getNodeValueIterator";
512        public static final String GET_NODE_VALUE_ITERATOR_SIG
513            = "("+NODE_ITERATOR_SIG+"I"+STRING_SIG+"Z)"+NODE_ITERATOR_SIG;
514    
515        public static final String GET_UNPARSED_ENTITY_URI_SIG
516            = "("+STRING_SIG+")"+STRING_SIG;
517    
518        public static final int POSITION_INDEX = 2;
519        public static final int LAST_INDEX     = 3;
520    
521        public static final String XMLNS_PREFIX = "xmlns";
522        public static final String XMLNS_STRING = "xmlns:";
523        public static final String XMLNS_URI 
524            = "http://www.w3.org/2000/xmlns/";
525        public static final String XSLT_URI
526            = "http://www.w3.org/1999/XSL/Transform";
527        public static final String XHTML_URI
528            = "http://www.w3.org/1999/xhtml";
529        public static final String TRANSLET_URI
530            = "http://xml.apache.org/xalan/xsltc";
531        public static final String REDIRECT_URI
532            = "http://xml.apache.org/xalan/redirect";
533        public static final String FALLBACK_CLASS
534            = "org.apache.xalan.xsltc.compiler.Fallback";
535    
536        public static final int RTF_INITIAL_SIZE = 32;
537    }