MCPcopy Create free account
hub / github.com/AnalyseSI/AnalyseSI / checkEncoding

Method checkEncoding

src/com/microstar/xml/XmlParser.java:803–841  ·  view source on GitHub ↗

Check that the encoding specified makes sense. Compare what the author has specified in the XML declaration or encoding PI with what we have detected. This is also important for distinguishing among the various 7- and 8-bit encodings, such as ISO-LATIN-1 (I cannot autodetect those). @param

(String encodingName, boolean ignoreEncoding)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 3

parseXMPDeclMethod · 0.95
parseTextDeclMethod · 0.95
pushURLMethod · 0.95

Calls 1

errorMethod · 0.95

Tested by

no test coverage detected