Package org.apache.xerces.validators.common

Examples of org.apache.xerces.validators.common.XMLAttributeDecl


            reportGenericSchemaError( "no attribute named \"" + name
                                      + "\" was defined in schema : " + uriStr);
            return -1;
        }

        XMLAttributeDecl referredAttrDecl = (XMLAttributeDecl) attrRegistry.get(name);

        if (referredAttrDecl == null) {
            // REVISIT: Localize
            reportGenericSchemaError( "no attribute named \"" + name
                                      + "\" was defined in schema : " + uriStr);
            return -1;
        }

        referredAttrDecl = new XMLAttributeDecl(referredAttrDecl);

        if (typeInfo!= null) {

            // check that there aren't duplicate attributes
            int temp = fSchemaGrammar.getAttributeDeclIndex(typeInfo.templateElementIndex, referredAttrDecl.name);
View Full Code Here

TOP

Related Classes of org.apache.xerces.validators.common.XMLAttributeDecl

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.