[DXML-8] Cannot pass strings when keywords are expected Created: 27/Sep/12 Updated: 14/Nov/12 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 | ||
| Environment: |
Windows 7 |
||
| Patch: | None |
| Description |
|
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. |
| Comments |
| 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. |