There's no way to find out what features a given XMLReader
recognizes.
Given an XMLReader, it's basically possible to find out what values
it supports (modulo when-to-set sequencing constraints) since they
can only be true or false (and might be read-only).
- Similarly with properties, though there's no way to determine the
range of values.
Solution:
Define two new read-only properties:
http://xml.org/sax/properties/supported-features
The value of this property is an array of
Strings containing the names of all the features
supported by this XMLReader.