open fun detectValidationMode(inputStream: InputStream): Int
Detect the validation mode for the XML document in the supplied InputStream. Note that the supplied InputStream is closed by this method before returning.
inputStream - the InputStream to parse
IOException - in case of I/O failure
See Also
#VALIDATION_DTD#VALIDATION_XSD