< prev index next >

src/java.xml/share/classes/com/sun/org/apache/xerces/internal/impl/Constants.java

Print this page
rev 1025 : 8023653: [JAXP] xalan inconsistently parses DOMSource and StreamSource

@@ -7,19 +7,18 @@
  * this work for additional information regarding copyright ownership.
  * The ASF licenses this file to You under the Apache License, Version 2.0
  * (the "License"); you may not use this file except in compliance with
  * the License.  You may obtain a copy of the License at
  *
- *      http://www.apache.org/licenses/LICENSE-2.0
+ *     http://www.apache.org/licenses/LICENSE-2.0
  *
  * Unless required by applicable law or agreed to in writing, software
  * distributed under the License is distributed on an "AS IS" BASIS,
  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  * See the License for the specific language governing permissions and
  * limitations under the License.
  */
-
 package com.sun.org.apache.xerces.internal.impl;
 
 import com.sun.org.apache.xerces.internal.utils.SecuritySupport;
 import java.util.Enumeration;
 import java.util.NoSuchElementException;

@@ -46,22 +45,21 @@
 
     // Schema features
     public static final String SUN_SCHEMA_FEATURE_PREFIX = "http://java.sun.com/xml/schema/features/";
     public static final String SUN_REPORT_IGNORED_ELEMENT_CONTENT_WHITESPACE = "report-ignored-element-content-whitespace";
 
-    //stax properties
-
+    // stax properties
     public static final String ZEPHYR_PROPERTY_PREFIX = "http://java.sun.com/xml/stream/properties/" ;
     public static final String STAX_PROPERTIES = "stax-properties" ;
     public static final String STAX_ENTITY_RESOLVER_PROPERTY = "internal/stax-entity-resolver";
     public static final String STAX_REPORT_CDATA_EVENT = "report-cdata-event";
     public static final String READER_IN_DEFINED_STATE = ZEPHYR_PROPERTY_PREFIX + "reader-in-defined-state" ;
     public static final String ADD_NAMESPACE_DECL_AS_ATTRIBUTE = "add-namespacedecl-as-attrbiute";
     public static final String ESCAPE_CHARACTERS = "escapeCharacters";
     public static final String REUSE_INSTANCE = "reuse-instance" ;
 
-    //DOM properties
+    // DOM properties
     public static final String SUN_DOM_PROPERTY_PREFIX = "http://java.sun.com/xml/dom/properties/" ;
     public static final String SUN_DOM_ANCESTOR_CHECCK = "ancestor-check";
 
     /**
      * If true, ignore DOCTYPE declaration as if it wasn't present at all.

@@ -73,10 +71,11 @@
     // sax features
 
     /** SAX feature prefix ("http://xml.org/sax/features/"). */
     public static final String SAX_FEATURE_PREFIX = "http://xml.org/sax/features/";
 
+    /** Namespaces feature ("namespaces"). */
     public static final String NAMESPACES_FEATURE = "namespaces";
 
     /** Namespace prefixes feature ("namespace-prefixes"). */
     public static final String NAMESPACE_PREFIXES_FEATURE = "namespace-prefixes";
 
< prev index next >