external/tika/src/main/java/com/digitalpebble/stormcrawler/tika/DOMBuilder.java
@Override
    public void startPrefixMapping(String prefix, String uri)
            throws org.xml.sax.SAXException {

        /*
         * // Not sure if this is needed or wanted // Also, it fails in the
         * stree. if((null != m_currentNode) && (m_currentNode.getNodeType() ==
         * Node.ELEMENT_NODE)) { String qname; if(((null != prefix) &&
         * (prefix.length() == 0)) || (null == prefix)) qname = "xmlns"; else
         * qname = "xmlns:"+prefix;
         * 
         * Element elem = (Element)m_currentNode; String val =
         * elem.getAttribute(qname); // Obsolete, should be DOM2...? if(val ==
         * null) { elem.setAttributeNS("http://www.w3.org/XML/1998/namespace",
         * qname, uri); } }
         */
    }
@Override
    public void startPrefixMapping(String prefix, String uri)
            throws org.xml.sax.SAXException {

        /*
         * // Not sure if this is needed or wanted // Also, it fails in the
         * stree. if((null != m_currentNode) && (m_currentNode.getNodeType() ==
         * Node.ELEMENT_NODE)) { String qname; if(((null != prefix) &&
         * (prefix.length() == 0)) || (null == prefix)) qname = "xmlns"; else
         * qname = "xmlns:"+prefix;
         * 
         * Element elem = (Element)m_currentNode; String val =
         * elem.getAttribute(qname); // Obsolete, should be DOM2...? if(val ==
         * null) { elem.setAttributeNS("http://www.w3.org/XML/1998/namespace",
         * qname, uri); } }
         */
    }
Begin the scope of a prefix-URI Namespace mapping.

<p>
The information from this event is not necessary for normal Namespace
processing: the SAX XML reader will automatically replace prefixes for
element and attribute names when the
http://xml.org/sax/features/namespaces feature is true (the default).
</p>

<p>
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.
</p>

<p>
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.
</p>

@param prefix
The Namespace prefix being declared.
@param uri
The Namespace URI the prefix is mapped to.
@see #endPrefixMapping
@see #startElement