You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@commons.apache.org by bu...@apache.org on 2005/06/09 20:14:11 UTC
DO NOT REPLY [Bug 34819] -
[digester] NodeCreateRule Failing
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