> - not always you can use namespaces

If  you are authoring your XML, you can *always* namespace.  This is a
no-brainer.   If you are trying to use XML that you can't modify, then
obviously  it  was  not  properly  authored for cross-platform XML DOM
parsing and is not suitable for consumption as a service.

> - xml is good mainly because is readable and simple to write. Adding
> namespaces it gets less readable and more error prone.

If  adding  a  fixed  namespace  to your elements is too cumbersome or
error-prone, you're doing something wrong in your XML processing.

> <!-- not well formed, but it's for testing purposes -->

Not  well-formed?  You can say that again.  This is completely invalid
XML  with  duplicate  ID attributes.  It can't even casually validate.
This is not a sane alternative to valid namespaced XML.

-- S.

Reply via email to