KtXmlReader
constructor(inOutBuffer: InOutBuffer, encoding: String? = null, relaxed: Boolean = false, expandEntities: Boolean = false)
Create a new reader
Parameters
inOutBuffer
A helper buffer to handle parsing/chunking inputs and collating outputs while trying to avoid character copying. It also allows for string/utf8 based inputs.
encoding
The encoding to record, note this doesn't impact the actual parsing (that is handled in the reader)
relaxed
If true ignore various syntax and namespace errors
expandEntities
true if entities are expanded as text, rather than exposed as entities. Note that unresolved entities will cause an exception in expanding mode.
