<< Back to previous view

[DXML-8] Cannot pass strings when keywords are expected Created: 27/Sep/12  Updated: 26/Jul/13  Resolved: 14/Nov/12

Status: Resolved
Project: data.xml
Component/s: None
Affects Version/s: None
Fix Version/s: None

Type: Defect Priority: Major
Reporter: Brian Siebert Assignee: Ryan Senior
Resolution: Completed Votes: 0
Labels: None

Windows 7

Patch: Code


This error does not present till you attempt to emit xml that has a string where the element function is expecting a keyword. This is double hard to figure out at first because the error message is vague. I am requesting that the element function is allowed to use strings instead of keywords or the error message is cleaned up so that the "user" error is clear.

Comment by Ryan Senior [ 14/Nov/12 7:28 AM ]

I have added this. Supporting keywords and strings seems to be common in some of the other contrib libraries. Now you can use the keyword :foo or the string "foo" for tags and attributes.

Generated at Thu Jan 18 10:06:35 CST 2018 using JIRA 4.4#649-r158309.