Modified: xerces/java/branches/xml-schema-1.1-dev/src/org/apache/xerces/impl/xs/traversers/XSDocumentInfo.java URL: http://svn.apache.org/viewvc/xerces/java/branches/xml-schema-1.1-dev/src/org/apache/xerces/impl/xs/traversers/XSDocumentInfo.java?rev=697134&r1=697133&r2=697134&view=diff ============================================================================== --- xerces/java/branches/xml-schema-1.1-dev/src/org/apache/xerces/impl/xs/traversers/XSDocumentInfo.java (original) +++ xerces/java/branches/xml-schema-1.1-dev/src/org/apache/xerces/impl/xs/traversers/XSDocumentInfo.java Fri Sep 19 08:36:02 2008 @@ -24,9 +24,11 @@ import org.apache.xerces.impl.xs.SchemaNamespaceSupport; import org.apache.xerces.impl.xs.SchemaSymbols; import org.apache.xerces.impl.xs.XMLSchemaException; +import org.apache.xerces.impl.xs.XSAttributeGroupDecl; import org.apache.xerces.impl.xs.XSOpenContentDecl; import org.apache.xerces.impl.xs.util.XInt; import org.apache.xerces.util.SymbolTable; +import org.apache.xerces.xni.QName; import org.w3c.dom.Element; /** @@ -85,6 +87,10 @@ // once removeAnnotations has been called. protected XSAnnotationInfo fAnnotations = null; + // defaultAttributes and its corresponding attribute group + QName fDefaultAttributes = null; + XSAttributeGroupDecl fDefaultAGroup = null; + // defaultOpenContent XSOpenContentDecl fDefaultOpenContent = null; @@ -125,6 +131,8 @@ fNamespaceSupportRoot = new SchemaNamespaceSupport(fNamespaceSupport); + fDefaultAttributes = (QName) fSchemaAttrs[XSAttributeChecker.ATTIDX_DEFAULTATTRAPPLY]; + //set namespace support fValidationContext.setNamespaceSupport(fNamespaceSupport); fValidationContext.setSymbolTable(symbolTable);
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
