Tabnine Logo
StreamBootstrapper.reportXmlProblem
Code IndexAdd Tabnine to your IDE (free)

How to use
reportXmlProblem
method
in
com.ctc.wstx.io.StreamBootstrapper

Best Java code snippets using com.ctc.wstx.io.StreamBootstrapper.reportXmlProblem (Showing top 20 results out of 315)

origin: org.codehaus.woodstox/woodstox-core-asl

private void verifyEncoding(String id, int bpc)
  throws WstxException
{
  if (mByteSizeFound) {
    /* Let's verify that if we matched an encoding, it's the same
     * as what was declared...
     */
    if (bpc != mBytesPerChar) {
      // [WSTX-138]: Needs to detect EBCDIC discrepancy
      if (mEBCDIC) {
        reportXmlProblem("Declared encoding '"+id+"' incompatible with auto-detected physical encoding (EBCDIC variant), can not decode input since actual code page not known");
      }
      reportXmlProblem("Declared encoding '"+id+"' uses "+bpc
               +" bytes per character; but physical encoding appeared to use "+mBytesPerChar+"; cannot decode");
    }
  }
}
origin: org.codehaus.woodstox/woodstox-core-asl

private void verifyEncoding(String id, int bpc, boolean bigEndian)
  throws WstxException
{
  if (mByteSizeFound) {
    verifyEncoding(id, bpc);
    if (bigEndian != mBigEndian) {
      String bigStr = bigEndian ? "big" : "little";
      reportXmlProblem
        ("Declared encoding '"+id+"' has different endianness ("
         +bigStr+" endian) than what physical ordering appeared to be; cannot decode");
    }
  }
}
origin: woodstox/wstx-asl

private void verifyEncoding(String id, int bpc)
  throws WstxException
{
  if (mByteSizeFound) {
    /* Let's verify that if we matched an encoding, it's the same
     * as what was declared...
     */
    if (bpc != mBytesPerChar) {
      // [WSTX-138]: Needs to detect EBCDIC discrepancy
      if (mEBCDIC) {
        reportXmlProblem("Declared encoding '"+id+"' incompatible with auto-detected physical encoding (EBCDIC variant), can not decode input since actual code page not known");
      }
      reportXmlProblem("Declared encoding '"+id+"' uses "+bpc
               +" bytes per character; but physical encoding appeared to use "+mBytesPerChar+"; cannot decode");
    }
  }
}
origin: org.codehaus.woodstox/woodstox-core-lgpl

private void verifyEncoding(String id, int bpc)
  throws WstxException
{
  if (mByteSizeFound) {
    /* Let's verify that if we matched an encoding, it's the same
     * as what was declared...
     */
    if (bpc != mBytesPerChar) {
      // [WSTX-138]: Needs to detect EBCDIC discrepancy
      if (mEBCDIC) {
        reportXmlProblem("Declared encoding '"+id+"' incompatible with auto-detected physical encoding (EBCDIC variant), can not decode input since actual code page not known");
      }
      reportXmlProblem("Declared encoding '"+id+"' uses "+bpc
               +" bytes per character; but physical encoding appeared to use "+mBytesPerChar+"; cannot decode");
    }
  }
}
origin: FasterXML/woodstox

private void verifyEncoding(String id, int bpc)
  throws WstxException
{
  if (mByteSizeFound) {
    /* Let's verify that if we matched an encoding, it's the same
     * as what was declared...
     */
    if (bpc != mBytesPerChar) {
      // [WSTX-138]: Needs to detect EBCDIC discrepancy
      if (mEBCDIC) {
        reportXmlProblem("Declared encoding '"+id+"' incompatible with auto-detected physical encoding (EBCDIC variant), can not decode input since actual code page not known");
      }
      reportXmlProblem("Declared encoding '"+id+"' uses "+bpc
               +" bytes per character; but physical encoding appeared to use "+mBytesPerChar+"; cannot decode");
    }
  }
}
origin: org.codehaus.woodstox/woodstox-core-asl

reportXmlProblem("Missing encoding declaration: underlying encoding looks like an EBCDIC variant, but no xml encoding declaration found");
origin: com.fasterxml.woodstox/woodstox-core

private void verifyEncoding(String id, int bpc)
  throws WstxException
{
  if (mByteSizeFound) {
    /* Let's verify that if we matched an encoding, it's the same
     * as what was declared...
     */
    if (bpc != mBytesPerChar) {
      // [WSTX-138]: Needs to detect EBCDIC discrepancy
      if (mEBCDIC) {
        reportXmlProblem("Declared encoding '"+id+"' incompatible with auto-detected physical encoding (EBCDIC variant), can not decode input since actual code page not known");
      }
      reportXmlProblem("Declared encoding '"+id+"' uses "+bpc
               +" bytes per character; but physical encoding appeared to use "+mBytesPerChar+"; cannot decode");
    }
  }
}
origin: org.apache.servicemix.bundles/org.apache.servicemix.bundles.woodstox

private void verifyEncoding(String id, int bpc)
  throws WstxException
{
  if (mByteSizeFound) {
    /* Let's verify that if we matched an encoding, it's the same
     * as what was declared...
     */
    if (bpc != mBytesPerChar) {
      // [WSTX-138]: Needs to detect EBCDIC discrepancy
      if (mEBCDIC) {
        reportXmlProblem("Declared encoding '"+id+"' incompatible with auto-detected physical encoding (EBCDIC variant), can not decode input since actual code page not known");
      }
      reportXmlProblem("Declared encoding '"+id+"' uses "+bpc
               +" bytes per character; but physical encoding appeared to use "+mBytesPerChar+"; cannot decode");
    }
  }
}
origin: woodstox/wstx-lgpl

private void verifyEncoding(String id, int bpc)
  throws WstxException
{
  if (mByteSizeFound) {
    /* Let's verify that if we matched an encoding, it's the same
     * as what was declared...
     */
    if (bpc != mBytesPerChar) {
      // [WSTX-138]: Needs to detect EBCDIC discrepancy
      if (mEBCDIC) {
        reportXmlProblem("Declared encoding '"+id+"' incompatible with auto-detected physical encoding (EBCDIC variant), can not decode input since actual code page not known");
      }
      reportXmlProblem("Declared encoding '"+id+"' uses "+bpc
               +" bytes per character; but physical encoding appeared to use "+mBytesPerChar+"; cannot decode");
    }
  }
}
origin: Nextdoor/bender

private void verifyEncoding(String id, int bpc)
  throws WstxException
{
  if (mByteSizeFound) {
    /* Let's verify that if we matched an encoding, it's the same
     * as what was declared...
     */
    if (bpc != mBytesPerChar) {
      // [WSTX-138]: Needs to detect EBCDIC discrepancy
      if (mEBCDIC) {
        reportXmlProblem("Declared encoding '"+id+"' incompatible with auto-detected physical encoding (EBCDIC variant), can not decode input since actual code page not known");
      }
      reportXmlProblem("Declared encoding '"+id+"' uses "+bpc
               +" bytes per character; but physical encoding appeared to use "+mBytesPerChar+"; cannot decode");
    }
  }
}
origin: woodstox/wstx-asl

private void verifyEncoding(String id, int bpc, boolean bigEndian)
  throws WstxException
{
  if (mByteSizeFound) {
    verifyEncoding(id, bpc);
    if (bigEndian != mBigEndian) {
      String bigStr = bigEndian ? "big" : "little";
      reportXmlProblem
        ("Declared encoding '"+id+"' has different endianness ("
         +bigStr+" endian) than what physical ordering appeared to be; cannot decode");
    }
  }
}
origin: com.fasterxml.woodstox/woodstox-core

private void verifyEncoding(String id, int bpc, boolean bigEndian)
  throws WstxException
{
  if (mByteSizeFound) {
    verifyEncoding(id, bpc);
    if (bigEndian != mBigEndian) {
      String bigStr = bigEndian ? "big" : "little";
      reportXmlProblem
        ("Declared encoding '"+id+"' has different endianness ("
         +bigStr+" endian) than what physical ordering appeared to be; cannot decode");
    }
  }
}
origin: org.apache.servicemix.bundles/org.apache.servicemix.bundles.woodstox

private void verifyEncoding(String id, int bpc, boolean bigEndian)
  throws WstxException
{
  if (mByteSizeFound) {
    verifyEncoding(id, bpc);
    if (bigEndian != mBigEndian) {
      String bigStr = bigEndian ? "big" : "little";
      reportXmlProblem
        ("Declared encoding '"+id+"' has different endianness ("
         +bigStr+" endian) than what physical ordering appeared to be; cannot decode");
    }
  }
}
origin: org.codehaus.woodstox/woodstox-core-lgpl

private void verifyEncoding(String id, int bpc, boolean bigEndian)
  throws WstxException
{
  if (mByteSizeFound) {
    verifyEncoding(id, bpc);
    if (bigEndian != mBigEndian) {
      String bigStr = bigEndian ? "big" : "little";
      reportXmlProblem
        ("Declared encoding '"+id+"' has different endianness ("
         +bigStr+" endian) than what physical ordering appeared to be; cannot decode");
    }
  }
}
origin: woodstox/wstx-lgpl

private void verifyEncoding(String id, int bpc, boolean bigEndian)
  throws WstxException
{
  if (mByteSizeFound) {
    verifyEncoding(id, bpc);
    if (bigEndian != mBigEndian) {
      String bigStr = bigEndian ? "big" : "little";
      reportXmlProblem
        ("Declared encoding '"+id+"' has different endianness ("
         +bigStr+" endian) than what physical ordering appeared to be; cannot decode");
    }
  }
}
origin: FasterXML/woodstox

private void verifyEncoding(String id, int bpc, boolean bigEndian)
  throws WstxException
{
  if (mByteSizeFound) {
    verifyEncoding(id, bpc);
    if (bigEndian != mBigEndian) {
      String bigStr = bigEndian ? "big" : "little";
      reportXmlProblem
        ("Declared encoding '"+id+"' has different endianness ("
         +bigStr+" endian) than what physical ordering appeared to be; cannot decode");
    }
  }
}
origin: Nextdoor/bender

private void verifyEncoding(String id, int bpc, boolean bigEndian)
  throws WstxException
{
  if (mByteSizeFound) {
    verifyEncoding(id, bpc);
    if (bigEndian != mBigEndian) {
      String bigStr = bigEndian ? "big" : "little";
      reportXmlProblem
        ("Declared encoding '"+id+"' has different endianness ("
         +bigStr+" endian) than what physical ordering appeared to be; cannot decode");
    }
  }
}
origin: FasterXML/woodstox

reportXmlProblem("Missing encoding declaration: underlying encoding looks like an EBCDIC variant, but no xml encoding declaration found");
origin: com.fasterxml.woodstox/woodstox-core

reportXmlProblem("Missing encoding declaration: underlying encoding looks like an EBCDIC variant, but no xml encoding declaration found");
origin: woodstox/wstx-asl

reportXmlProblem("Missing encoding declaration: underlying encoding looks like an EBCDIC variant, but no xml encoding declaration found");
com.ctc.wstx.ioStreamBootstrapperreportXmlProblem

Popular methods of StreamBootstrapper

  • getInstance
    Factory method used when the underlying data provider is a pre-allocated block source, and no stream
  • <init>
  • bootstrapInput
  • checkMbKeyword
  • checkSbKeyword
  • checkTranslatedKeyword
  • ensureLoaded
  • getLocation
  • getNext
  • hasXmlDecl
  • loadMore
  • nextByte
  • loadMore,
  • nextByte,
  • nextMultiByte,
  • nextTranslated,
  • readXmlDecl,
  • reportNull,
  • reportUnexpectedChar,
  • reportWeirdUCS4,
  • resolveStreamEncoding

Popular in Java

  • Updating database using SQL prepared statement
  • getOriginalFilename (MultipartFile)
    Return the original filename in the client's filesystem.This may contain path information depending
  • getExternalFilesDir (Context)
  • getSystemService (Context)
  • Font (java.awt)
    The Font class represents fonts, which are used to render text in a visible way. A font provides the
  • Window (java.awt)
    A Window object is a top-level window with no borders and no menubar. The default layout for a windo
  • URLConnection (java.net)
    A connection to a URL for reading or writing. For HTTP connections, see HttpURLConnection for docume
  • Collectors (java.util.stream)
  • BasicDataSource (org.apache.commons.dbcp)
    Basic implementation of javax.sql.DataSource that is configured via JavaBeans properties. This is no
  • LogFactory (org.apache.commons.logging)
    Factory for creating Log instances, with discovery and configuration features similar to that employ
  • CodeWhisperer 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