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

Method parseTextDecl

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

Parse the Encoding PI. [78] EncodingDecl ::= S 'encoding' Eq QEncoding [79] EncodingPI ::= '<?xml' S 'encoding' Eq QEncoding S? '?>' [80] QEncoding ::= '"' Encoding '"' | "'" Encoding "'" [81] Encoding ::= LatinName [82] LatinName ::= [A-Z

(boolean ignoreEncoding)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

tryEncodingDeclMethod · 0.95

Calls 8

tryReadMethod · 0.95
parseEqMethod · 0.95
readLiteralMethod · 0.95
errorMethod · 0.95
requireWhitespaceMethod · 0.95
requireMethod · 0.95
checkEncodingMethod · 0.95
skipWhitespaceMethod · 0.95

Tested by

no test coverage detected