tracker issue : CF-3040944

select a category, or use search below
(searches all categories and all time range)
Title:

Bug 82106:XML element nodes that start with and underscore (_) return an empty string when accessed using dot notation instead of the element

| View in Tracker

Status/Resolution/Reason: Closed/Fixed/

Reporter/Name(from Bugbase): Gary Gilbert / Gary Gilbert (garyrgi)

Created: 02/16/2010

Components: Language, Datastructure

Versions: 9.0

Failure Type: Unspecified

Found In Build/Fixed In Build: 0000 / 271170

Priority/Frequency: Normal / Unknown

Locale/System: English / Win All

Vote Count: 0

Problem:

XML element nodes that start with and underscore (_) return an empty string when accessed using dot notation instead of the element.For more information on the bug see:http://www.garyrgilbert.com/blog/index.cfm/2010/2/16/Adobe-CF-XML-Issue
Method:

This bug can be reproduced with the following XML structure:<cfset myxml ='<object classcodename="sp_document" processingtype="1" updateifexists="true"><identifier>5C626917-25EF-4EDC-94FC-731019D25166</identifier><content><Produkt>wintergarden</Produkt><Modified>2010-02-02 17:53:42</Modified><Created>2009-08-06 13:59:05</Created><ContentType>Dokument</ContentType><_UIVersionString>1.2</_UIVersionString><Title>1057919169_f57c98e746</Title><BaseName>1057919169_f57c98e746</BaseName></content></object>'><cfset xmlDoc = xmlParse(myxml)><cfdump var="#xmlDoc.object.content._UIVersionString#">returns an empty string, where is should return the xml element like the following does.<cfdump var="#xmlDoc.object.content.title#">
Result:

Does not produce an error message.

----------------------------- Additional Watson Details -----------------------------

Watson Bug ID:	3040944

External Customer Info:
External Company:  
External Customer Name: Gary Gilbert
External Customer Email: 3FDC45AE445F31D7992015D5
External Test Config: 02/16/2010

Attachments:

Comments: