ID:1865872
 
Resolved
- and _ were not considered valid characters for HTML attributes in .dms files, which could cause problems for custom webclient controls that used HTML5 data-xxxx attributes.
BYOND Version:507
Operating System:Windows 8 64-bit
Web Browser:Chrome 43.0.2357.81
Applies to:Dream Maker
Status: Resolved (508.1289)

This issue has been resolved.
Descriptive Problem Summary:
When trying to give an element a data- attribute in a dms file the compiler gives an error of "Bad attribute".
Numbered Steps to Reproduce Problem:
1) Create a dms file.
2) Try to give an element a data- attribute.
Code Snippet (if applicable) to Reproduce Problem:
<div data-type="something"></div>


Expected Results:
No error to be given.
Actual Results:
An error of "Bad attribute" is given.
Does the problem occur:
Every time? Or how often?
Every time.

Workarounds:
None

Ah, good catch there. Can you share the whole .dms file? That will help me in debugging.
Lummox JR resolved issue with message:
- and _ were not considered valid characters for HTML attributes in .dms files, which could cause problems for custom webclient controls that used HTML5 data-xxxx attributes.