Tabnine Logo
XMLSchemaReader.reportWarning
Code IndexAdd Tabnine to your IDE (free)

How to use
reportWarning
method
in
com.sun.msv.reader.xmlschema.XMLSchemaReader

Best Java code snippets using com.sun.msv.reader.xmlschema.XMLSchemaReader.reportWarning (Showing top 12 results out of 315)

origin: com.sun.xml.bind/jaxb-extra-osgi

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;
}

origin: com.sun.xml.bind/jaxb1-impl

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;
}

origin: msv/msv

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;
}

origin: kohsuke/msv

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;
}

origin: com.sun.xml.bind/jaxb1-impl

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;
}

origin: com.sun.xml.bind/jaxb-extra-osgi

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;
}

origin: msv/msv

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;
}

origin: kohsuke/msv

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;
}

origin: msv/msv

reader.reportWarning( XMLSchemaReader.ERR_UNIMPLEMENTED_FEATURE,
  "<attribute> element with both 'ref' and 'fixed' attributes" );
origin: com.sun.xml.bind/jaxb1-impl

reader.reportWarning( XMLSchemaReader.ERR_UNIMPLEMENTED_FEATURE,
  "<attribute> element with both 'ref' and 'fixed' attributes" );
origin: com.sun.xml.bind/jaxb-extra-osgi

reader.reportWarning( XMLSchemaReader.ERR_UNIMPLEMENTED_FEATURE,
  "<attribute> element with both 'ref' and 'fixed' attributes" );
origin: kohsuke/msv

reader.reportWarning( XMLSchemaReader.ERR_UNIMPLEMENTED_FEATURE,
  "<attribute> element with both 'ref' and 'fixed' attributes" );
com.sun.msv.reader.xmlschemaXMLSchemaReaderreportWarning

Popular methods of XMLSchemaReader

  • parse
    loads XML Schema
  • switchSource
  • <init>
  • getXmlSchemaForXmlSchema
  • _processOccurs
  • addBackPatchJob
  • createAttributeState
    creates a state object that parses "attribute","attributeGroup ref", and "anyAttribute".
  • createFacetState
  • createModelGroupState
    creates a state object that parses "all"/"group ref"/"choice" and "sequence".
  • createParserFactory
  • detectUndefinedOnes
  • getCurrentState
  • detectUndefinedOnes,
  • getCurrentState,
  • getDeclaredLocationOf,
  • getOrCreateSchema,
  • getResult,
  • getType,
  • isSchemaDefined,
  • isSchemaNamespace,
  • isSubstitutable,
  • markSchemaAsDefined

Popular in Java

  • Making http post requests using okhttp
  • getContentResolver (Context)
  • setRequestProperty (URLConnection)
  • addToBackStack (FragmentTransaction)
  • FileNotFoundException (java.io)
    Thrown when a file specified by a program cannot be found.
  • Queue (java.util)
    A collection designed for holding elements prior to processing. Besides basic java.util.Collection o
  • ZipFile (java.util.zip)
    This class provides random read access to a zip file. You pay more to read the zip file's central di
  • BoxLayout (javax.swing)
  • JPanel (javax.swing)
  • Project (org.apache.tools.ant)
    Central representation of an Ant project. This class defines an Ant project with all of its targets,
  • Github Copilot alternatives
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now