tracker issue : CF-4203286

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

[ANeff] Doc Bug for: "Supported XML member functions" list issues

| View in Tracker

Status/Resolution/Reason: Closed/Fixed/HaveNewInfo

Reporter/Name(from Bugbase): Aaron Neff / ()

Created: 08/20/2018

Components: Documentation

Versions: 2018

Failure Type: Conflict With Docs

Found In Build/Fixed In Build: 2018.0.0.310739 / docs

Priority/Frequency: Normal / Some users will encounter

Locale/System: / Platforms All

Vote Count: 0

Issue: "Supported XML member functions" list issues

1) The list isn't alphabetic. It should be.
2) The list should consistently use "someVar." like the other lists on that page.
3) The list's purpose isn't for showing syntax. The "xmlObject.update(String key, Object value)" should just be "someVar.update()".
4) .toString() XML member function, added in CF2018, isn't listed but should be.
5) .duplicate() XML member function exists but isn't listed and should be.

Note: For now, I'd probably put the non-XML-specific XML member functions alphabetically at the bottom of the XML-specific ones.

Net result:
-----------
# XmlAppend 	someVar.append()
XmlChildPos 	someVar.childPos()
# XmlCount 	someVar.count()
XmlElemNew 	someVar.elemNew()
XmlGetNodeType 	someVar.getNodeType()
# XmlHasChild 	someVar.hasChild()
# XmlLen	someVar.len()
# XmlKeyArray 	someVar.keyArray()
# XmlKeyList 	someVar.keyList()
XmlSearch 	someVar.search()
XmlTransform 	someVar.transform()
# XmlUpdate 	someVar.update()
Duplicate	someVar.duplicate()
# ToString	someVar.toString()
-----------

Related URL: https://helpx.adobe.com/coldfusion/developing-applications/building-blocks-of-coldfusion-applications/using-the-member-functions.html#SupportedXMLmemberfunctions

Related URL: http://blog.cfaether.com/2018/08/coldfusion-member-functions-for-xml.html

Attachments:

Comments:

Another issue is that many of the BIFs listed do not exist with those names.
Comment by Kama S.
30078 | December 21, 2018 05:31:24 PM GMT
Hi Kama, Completely agree. All member functions should have a BIF counterpart. Including the DateTime "setter methods". Either CF maintains its predictability, or it doesn't. Thanks!, -Aaron
Comment by Aaron N.
30079 | December 24, 2018 06:48:31 AM GMT