private void checkExpectedContentTypes(XSComponent c) { if(c.getForeignAttribute(WellKnownNamespace.XML_MIME_URI, Const.EXPECTED_CONTENT_TYPES)==null) return; // no such attribute if(c instanceof XSParticle) return; // particles get the same foreign attributes as local element decls, // so we need to skip them if(!stb.isAcknowledgedXmimeContentTypes(c)) { // this is not used getErrorReporter().warning(c.getLocator(),Messages.WARN_UNUSED_EXPECTED_CONTENT_TYPES); } }
private void checkExpectedContentTypes(XSComponent c) { if(c.getForeignAttribute(WellKnownNamespace.XML_MIME_URI, Const.EXPECTED_CONTENT_TYPES)==null) return; // no such attribute if(c instanceof XSParticle) return; // particles get the same foreign attributes as local element decls, // so we need to skip them if(!stb.isAcknowledgedXmimeContentTypes(c)) { // this is not used getErrorReporter().warning(c.getLocator(),Messages.WARN_UNUSED_EXPECTED_CONTENT_TYPES); } }
private void checkExpectedContentTypes(XSComponent c) { if(c.getForeignAttribute(WellKnownNamespace.XML_MIME_URI, Const.EXPECTED_CONTENT_TYPES)==null) return; // no such attribute if(c instanceof XSParticle) return; // particles get the same foreign attributes as local element decls, // so we need to skip them if(!stb.isAcknowledgedXmimeContentTypes(c)) { // this is not used getErrorReporter().warning(c.getLocator(),Messages.WARN_UNUSED_EXPECTED_CONTENT_TYPES); } }
private void checkExpectedContentTypes(XSComponent c) { if(c.getForeignAttribute(WellKnownNamespace.XML_MIME_URI, Const.EXPECTED_CONTENT_TYPES)==null) return; // no such attribute if(c instanceof XSParticle) return; // particles get the same foreign attributes as local element decls, // so we need to skip them if(!stb.isAcknowledgedXmimeContentTypes(c)) { // this is not used getErrorReporter().warning(c.getLocator(),Messages.WARN_UNUSED_EXPECTED_CONTENT_TYPES); } }
private void checkExpectedContentTypes(XSComponent c) { if(c.getForeignAttribute(WellKnownNamespace.XML_MIME_URI, Const.EXPECTED_CONTENT_TYPES)==null) return; // no such attribute if(c instanceof XSParticle) return; // particles get the same foreign attributes as local element decls, // so we need to skip them if(!stb.isAcknowledgedXmimeContentTypes(c)) { // this is not used getErrorReporter().warning(c.getLocator(),Messages.WARN_UNUSED_EXPECTED_CONTENT_TYPES); } }