public boolean isSchemaNamespace( String ns ) { if( ns.equals(XMLSchemaNamespace) ) return true; if( ns.equals(XMLSchemaNamespace_old) ) { // old namespace. // report a warning only once. if( !issuedOldNamespaceWarning ) reportWarning( WRN_OBSOLETED_NAMESPACE, null ); issuedOldNamespaceWarning = true; return true; } return false; }
public boolean isSchemaNamespace( String ns ) { if( ns.equals(XMLSchemaNamespace) ) return true; if( ns.equals(XMLSchemaNamespace_old) ) { // old namespace. // report a warning only once. if( !issuedOldNamespaceWarning ) reportWarning( WRN_OBSOLETED_NAMESPACE, null ); issuedOldNamespaceWarning = true; return true; } return false; }
public boolean isSchemaNamespace( String ns ) { if( ns.equals(XMLSchemaNamespace) ) return true; if( ns.equals(XMLSchemaNamespace_old) ) { // old namespace. // report a warning only once. if( !issuedOldNamespaceWarning ) reportWarning( WRN_OBSOLETED_NAMESPACE, null ); issuedOldNamespaceWarning = true; return true; } return false; }
public boolean isSchemaNamespace( String ns ) { if( ns.equals(XMLSchemaNamespace) ) return true; if( ns.equals(XMLSchemaNamespace_old) ) { // old namespace. // report a warning only once. if( !issuedOldNamespaceWarning ) reportWarning( WRN_OBSOLETED_NAMESPACE, null ); issuedOldNamespaceWarning = true; return true; } return false; }
protected Expression defaultExpression() { if( startTag.containsAttribute("substitutionGroup") ) reader.reportError( XMLSchemaReader.ERR_UNIMPLEMENTED_FEATURE, "omitting type attribute in <element> element with substitutionGroup attribute"); // recover by assuming ur-type. // if no content model is given, then this element type is ur-type. // TODO: confirm it. final XMLSchemaReader reader = (XMLSchemaReader)this.reader; reader.reportWarning( XMLSchemaReader.WRN_IMPLICIT_URTYPE_FOR_ELEMENT, null ); return reader.complexUrType; }
protected Expression defaultExpression() { if( startTag.containsAttribute("substitutionGroup") ) reader.reportError( XMLSchemaReader.ERR_UNIMPLEMENTED_FEATURE, "omitting type attribute in <element> element with substitutionGroup attribute"); // recover by assuming ur-type. // if no content model is given, then this element type is ur-type. // TODO: confirm it. final XMLSchemaReader reader = (XMLSchemaReader)this.reader; reader.reportWarning( XMLSchemaReader.WRN_IMPLICIT_URTYPE_FOR_ELEMENT, null ); return reader.complexUrType; }
protected Expression defaultExpression() { if( startTag.containsAttribute("substitutionGroup") ) reader.reportError( XMLSchemaReader.ERR_UNIMPLEMENTED_FEATURE, "omitting type attribute in <element> element with substitutionGroup attribute"); // recover by assuming ur-type. // if no content model is given, then this element type is ur-type. // TODO: confirm it. final XMLSchemaReader reader = (XMLSchemaReader)this.reader; reader.reportWarning( XMLSchemaReader.WRN_IMPLICIT_URTYPE_FOR_ELEMENT, null ); return reader.complexUrType; }
protected Expression defaultExpression() { if( startTag.containsAttribute("substitutionGroup") ) reader.reportError( XMLSchemaReader.ERR_UNIMPLEMENTED_FEATURE, "omitting type attribute in <element> element with substitutionGroup attribute"); // recover by assuming ur-type. // if no content model is given, then this element type is ur-type. // TODO: confirm it. final XMLSchemaReader reader = (XMLSchemaReader)this.reader; reader.reportWarning( XMLSchemaReader.WRN_IMPLICIT_URTYPE_FOR_ELEMENT, null ); return reader.complexUrType; }
reader.reportWarning( XMLSchemaReader.ERR_UNIMPLEMENTED_FEATURE, "<attribute> element with both 'ref' and 'fixed' attributes" );
reader.reportWarning( XMLSchemaReader.ERR_UNIMPLEMENTED_FEATURE, "<attribute> element with both 'ref' and 'fixed' attributes" );
reader.reportWarning( XMLSchemaReader.ERR_UNIMPLEMENTED_FEATURE, "<attribute> element with both 'ref' and 'fixed' attributes" );
reader.reportWarning( XMLSchemaReader.ERR_UNIMPLEMENTED_FEATURE, "<attribute> element with both 'ref' and 'fixed' attributes" );