286N/A * Copyright (c) 2005, 2006, Oracle and/or its affiliates. All rights reserved. 286N/A * Copyright 2005 The Apache Software Foundation. 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 * 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 * @author Andy Clark, IBM 286N/A * @author Jeffrey Rodriguez IBM 286N/A * @author Neil Graham, IBM 286N/A * @author Sunitha Reddy, Sun Microsystems 286N/A /** Property identifier: symbol table. */ 286N/A /** Compile to true to debug attributes. */ 286N/A /** Compile to true to debug element children. */ 286N/A /** Current element index. */ 286N/A /** Current content spec type. */ 286N/A /** Content spec type stack. */ 286N/A /** True if inside of element content. */ 286N/A /** Temporary atribute declaration. */ 286N/A /** Temporary qualified name. */ 286N/A /** Temporary string buffers. */ 286N/A /** Default constructor. */ 286N/A * Resets the component. The component can query the component manager 286N/A * about any features and properties that affect the operation of the 286N/A * @param componentManager The component manager. 286N/A * @throws SAXException Thrown by component on finitialization error. 286N/A * For example, if a feature or property is 286N/A * required for the operation of the component, the 286N/A * component manager may throw a 286N/A * SAXNotRecognizedException or a 286N/A * SAXNotSupportedException. 286N/A * The start of an element. 286N/A * @param element The name of the element. 286N/A * @param attributes The element attributes. 286N/A * @param augs Additional information that may include infoset augmentations 286N/A * @throws XNIException Thrown by handler to signal an error. 286N/A * The end of an element. 286N/A * @param element The name of the element. 286N/A * @param augs Additional information that may include infoset augmentations 286N/A * @throws XNIException Thrown by handler to signal an error. 286N/A * The start of a CDATA section. 286N/A * @param augs Additional information that may include infoset augmentations 286N/A * @throws XNIException Thrown by handler to signal an error. 286N/A * The end of a CDATA section. 286N/A * @param augs Additional information that may include infoset augmentations 286N/A * @throws XNIException Thrown by handler to signal an error. 286N/A /** Add default attributes and validate. */ 286N/A // is there anything to do? 286N/A // Check after all specified attrs are scanned 286N/A // (1) report error for REQUIRED attrs that are missing (V_TAGc) 286N/A // (2) add default attrs (FIXED and NOT_FIXED) 286N/A //check whether attribute is a namespace declaration 286N/A // now iterate through the expanded attributes for 286N/A // 1. if every attribute seen is declared in the DTD 286N/A // 2. check if the VC: default_fixed holds 286N/A // 3. validate every attribute. 286N/A // found the match att decl, 286N/A }
// for all attributes 286N/A }
// addDTDDefaultAttrsAndValidate(int,XMLAttrList) 286N/A * Normalize the attribute value of a non CDATA attributes collapsing 286N/A * sequences of space characters (x20) 286N/A * @param attributes The list of attributes 286N/A * @param index The index of the attribute to normalize 286N/A // check if the last appended character is a space. 286N/A /** convert attribute type from ints to strings */ 286N/A /** ensure element stack capacity */ 286N/A * @return true if validator is removed from the pipeline 286N/A //handleDTDDefaultAttrs(element,attributes); 286N/A /** Handle end element. */