node.xmlText explicit assignment throws error that value is not node or XML instance

Description

The following code:

xmlObj = xmlParse( '<Ortus></Ortus>' ); xmlObj.xmlRoot.xmlText = "BoxLang"; result = xmlObj.xmlRoot.xmlText;

Throws the following error:

The value passed [BoxLang] is not a Node instance


Update dereferenceAndInvoke to handle assignment

Activity

Show:

Jon ClausenJanuary 17, 2025 at 12:06 AM

xmlCDATA assignment is also failing. Will fix at the same time.

Fixed
Pinned fields
Click on the next to a field label to start pinning.

Details

Assignee

Reporter

Fix versions

Priority

Sentry

Created January 16, 2025 at 11:25 PM
Updated January 17, 2025 at 12:17 AM
Resolved January 17, 2025 at 12:17 AM