286N/A/*
286N/A * reserved comment block
286N/A * DO NOT REMOVE OR ALTER!
286N/A */
286N/A/*
286N/A * Copyright 1999-2004 The Apache Software Foundation.
286N/A *
286N/A * Licensed under the Apache License, Version 2.0 (the "License");
286N/A * you may not use this file except in compliance with the License.
286N/A * You may obtain a copy of the License at
286N/A *
286N/A * http://www.apache.org/licenses/LICENSE-2.0
286N/A *
286N/A * Unless required by applicable law or agreed to in writing, software
286N/A * distributed under the License is distributed on an "AS IS" BASIS,
286N/A * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
286N/A * See the License for the specific language governing permissions and
286N/A * limitations under the License.
286N/A */
286N/A/*
286N/A * $Id: Constants.java,v 1.2.4.1 2005/09/15 08:15:37 suresh_emailid Exp $
286N/A */
286N/Apackage com.sun.org.apache.xml.internal.utils;
286N/A
286N/A/**
286N/A * Primary constants used by the XSLT Processor
286N/A * @xsl.usage advanced
286N/A */
286N/Apublic class Constants
286N/A{
286N/A
286N/A /**
286N/A * Mnemonics for standard XML Namespace URIs, as Java Strings:
286N/A * <ul>
286N/A * <li>S_XMLNAMESPACEURI (http://www.w3.org/XML/1998/namespace) is the
286N/A * URI permanantly assigned to the "xml:" prefix. This is used for some
286N/A * features built into the XML specification itself, such as xml:space
286N/A * and xml:lang. It was defined by the W3C's XML Namespaces spec.</li>
286N/A * <li>S_XSLNAMESPACEURL (http://www.w3.org/1999/XSL/Transform) is the
286N/A * URI which indicates that a name may be an XSLT directive. In most
286N/A * XSLT stylesheets, this is bound to the "xsl:" prefix. It's defined
286N/A * by the W3C's XSLT Recommendation.</li>
286N/A * <li>S_OLDXSLNAMESPACEURL (http://www.w3.org/XSL/Transform/1.0) was
286N/A * used in early prototypes of XSLT processors for much the same purpose
286N/A * as S_XSLNAMESPACEURL. It is now considered obsolete, and the version
286N/A * of XSLT which it signified is not fully compatable with the final
286N/A * XSLT Recommendation, so what it really signifies is a badly obsolete
286N/A * stylesheet.</li>
286N/A * </ul> */
286N/A public static final String
286N/A S_XMLNAMESPACEURI = "http://www.w3.org/XML/1998/namespace",
286N/A S_XSLNAMESPACEURL = "http://www.w3.org/1999/XSL/Transform",
286N/A S_OLDXSLNAMESPACEURL = "http://www.w3.org/XSL/Transform/1.0";
286N/A
286N/A /** Authorship mnemonics, as Java Strings. Not standardized,
286N/A * as far as I know.
286N/A * <ul>
286N/A * <li>S_VENDOR -- the name of the organization/individual who published
286N/A * this XSLT processor. </li>
286N/A * <li>S_VENDORURL -- URL where one can attempt to retrieve more
286N/A * information about this publisher and product.</li>
286N/A * </ul>
286N/A */
286N/A public static final String
286N/A S_VENDOR = "Apache Software Foundation",
286N/A S_VENDORURL = "http://xml.apache.org";
286N/A
286N/A /** S_BUILTIN_EXTENSIONS_URL is a mnemonic for the XML Namespace
286N/A *(http://xml.apache.org/xalan) predefined to signify Xalan's
286N/A * built-in XSLT Extensions. When used in stylesheets, this is often
286N/A * bound to the "xalan:" prefix.
286N/A */
286N/A public static final String
286N/A S_BUILTIN_EXTENSIONS_URL = "http://xml.apache.org/xalan";
286N/A
286N/A /**
286N/A * The old built-in extension url. It is still supported for
286N/A * backward compatibility.
286N/A */
286N/A public static final String
286N/A S_BUILTIN_OLD_EXTENSIONS_URL = "http://xml.apache.org/xslt";
286N/A
286N/A /**
286N/A * Xalan extension namespaces.
286N/A */
286N/A public static final String
286N/A // The old namespace for Java extension
286N/A S_EXTENSIONS_OLD_JAVA_URL = "http://xml.apache.org/xslt/java",
286N/A // The new namespace for Java extension
286N/A S_EXTENSIONS_JAVA_URL = "http://xml.apache.org/xalan/java",
286N/A S_EXTENSIONS_LOTUSXSL_JAVA_URL = "http://xsl.lotus.com/java",
286N/A S_EXTENSIONS_XALANLIB_URL = "http://xml.apache.org/xalan",
286N/A S_EXTENSIONS_REDIRECT_URL = "http://xml.apache.org/xalan/redirect",
286N/A S_EXTENSIONS_PIPE_URL = "http://xml.apache.org/xalan/PipeDocument",
286N/A S_EXTENSIONS_SQL_URL = "http://xml.apache.org/xalan/sql";
286N/A
286N/A /**
286N/A * EXSLT extension namespaces.
286N/A */
286N/A public static final String
286N/A S_EXSLT_COMMON_URL = "http://exslt.org/common",
286N/A S_EXSLT_MATH_URL = "http://exslt.org/math",
286N/A S_EXSLT_SETS_URL = "http://exslt.org/sets",
286N/A S_EXSLT_DATETIME_URL = "http://exslt.org/dates-and-times",
286N/A S_EXSLT_FUNCTIONS_URL = "http://exslt.org/functions",
286N/A S_EXSLT_DYNAMIC_URL = "http://exslt.org/dynamic",
286N/A S_EXSLT_STRINGS_URL = "http://exslt.org/strings";
286N/A
286N/A
286N/A /**
286N/A * The minimum version of XSLT supported by this processor.
286N/A */
286N/A public static final double XSLTVERSUPPORTED = 1.0;
286N/A}