Issue 2419: When referencing XML nodes with CDATA of zero length, the node
is skipped altogether
http://code.google.com/p/chromium/issues/detail?id=2419
New issue report by michaelvandemar:
Product Version : 0.2.149.27
URLs (if applicable) :
Other browsers tested:
Add OK or FAIL after other browsers where you have tested this issue:
Safari 3: OK
Firefox 3: OK
IE 7: OK
What steps will reproduce the problem?
1. Make an AJAX call where one of the returned nodes is an empty CDATA type
2. attempt to reference that node via: var myvar =
http_request.responseXML.getElementsByTagName('nodeName').item(0).firstChild.data
What is the expected result?
var myvar should be populated with an empty string
What happens instead?
http_request.responseXML.getElementsByTagName('nodeName') is null, and an
error is raised attempting to access it's properties.
Please provide any additional information below. Attach a screenshot if
possible.
Issue attributes:
Status: Unconfirmed
Owner: [EMAIL PROTECTED]
Labels: Type-Bug Pri-2 OS-All Area-Unknown
--
You received this message because you are listed in the owner
or CC fields of this issue, or because you starred this issue.
You may adjust your issue notification preferences at:
http://code.google.com/hosting/settings
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Chromium-bugs" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/chromium-bugs?hl=en
-~----------~----~----~----~------~----~------~--~---