[jdom-interest] Possible bug in SAXHandler when "namespaces" feature is off

Jason Hunter jhunter at servlets.com
Mon Jan 19 15:49:12 PST 2004


> Unless the code has changed since beta 9 it looks like the correct 
> statement is that JDOM *only* supports XML+Namespaces. The setName 
> method for Element, for instance, treats ':' as an illegal character. 
> This violates the XML recommendation.
> 
> I'm not saying that only supporting XML+Namespaces is a bad design 
> choice - very few people are using XML-Namespaces these days - but it 
> should be stated in the project description (at least in the fine 
> print...).

We support XML with namespaces.  We support XML without namespaces. 
What we don't support is colons in local names.  Too many people 
mistakenly try to use colons in local names *thinking* they're adding a 
namespace.  They're not, so we warn them off.

-jh-




More information about the jdom-interest mailing list