On Nov 5, 2006, at 14:12, Elliotte Harold wrote:

If you don't have xmnls and xmlns:prefix then there are no namespaces, period.

If my parser tells your ContentHandler that there is a namespace, then there is. Your ContentHandler doesn't get to see any source bytes.

If my parser gives your code a XOM tree with namespaces, then there are namespaces. Again, your code doesn't get to see how the namespaces ended up there.

All we have is the document's text. This is what must be defined. If there are no namespaces in the text, then there are no namespaces.

There are no namespaces in any text unless a parsing spec creates such a notion.

--
Henri Sivonen
[EMAIL PROTECTED]
http://hsivonen.iki.fi/


Reply via email to