There are cases, however, when applications need to use prefixes in character data or in attribute values, where they cannot safely be expanded automatically; the start/endPrefixMapping event supplies the information to the application to expand prefixes in those contexts itself, if necessary.
Note that start/endPrefixMapping events are not guaranteed to be properly nested relative to each-other: all startPrefixMapping events will occur before the corresponding startElement event, and all endPrefixMapping events will occur after the corresponding endElement event, but their order is not guaranteed.
@param prefix The Namespace prefix being declared. @param uri The Namespace URI the prefix is mapped to. @throws org.xml.sax.SAXException The client may throwan exception during processing. @see #endPrefixMapping @see #startElement
|
|
|
|