commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 34819] - [digester] NodeCreateRule Failing
Date Thu, 09 Jun 2005 18:14:11 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=34819>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=34819





------- Additional Comments From ms419@freezone.co.uk  2005-06-09 20:14 -------
(In reply to comment #12)
> Sorry, I don't understand your last comment.

Sorry I didn't have time for this last week - but I think I now have a better
understanding

http://www.sfu.ca/~jdbates/tmp/commons-digester/TestCreateElement.java - this
test case shows how aelfred's getLocalName() always returns the tag name, even
of elements created using the DOM1 createElement(String) method -


fis% jikes-sablevm TestCreateElement.java                           
fis% java TestCreateElement                                         
getNodeName(): foo
getLocalName(): foo
fis% 


Consequently, I don't think - assertNull(((Element)element).getLocalName()); -
can ever succeed?

I thought this is what you meant by -


> However it seems that Aelfred provides localname even when namespace-aware is
> false. And the specs say this is allowed.


-

> If you've applied the attached patch to the latest SVN code, and are still
> getting the assert failures then I've made a mistake somewhere.

That's correct - I applied your patch to latest SVN & asserts on lines 209, 240,
248 & 256 of NodeCreateRuleTestCase.java still fail - but I gathered that
non-null values were permissable, according to the spec?

Many thanks, again, for your time on this problem!

Jack

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org


Mime
View raw message