I have ran into an another problem with namespaces while using gdome!
If I parse
an existing xml document with only namespace attribute in the document
element, and then call 'hasAttributes' on the document element, the
'hasAttributes' returns false.
Namespaces
are special attirbutes and should be ideally considered as attributes
itself. So 'hasAttributes' should have returned true.
If it is a conscious decision to support this behaviour, why was it designed that way?
The following code snippets will demonstrate the problem
consider "college.xml" having the following data...
<abc:college xmlns:abc
="namespaceUri">