XML error pasting Drag and Drop Queue sample code
I'm trying to follow the tutorial at https://docs.skuid.com/latest/en/skuid/javascript/snippets/queue-custom-item.html and copy-and-pasted the XML code from https://bitbucket.org/skuid/samplepages/src/1e02bf5a392e141442b992e270ce593345faa979/pages/Drag%20an... into a new Skuid page. However, I am getting the following error:
Failed to parse XML due to: entity reference names can not start with character '&' (position: TEXT seen ...el.registeredEditors,function(){
if (this.element &&... @177:34)
Any idea if there is something wrong with the sample code? Or am I doing something wrong?
Thanks,
Andrew
Failed to parse XML due to: entity reference names can not start with character '&' (position: TEXT seen ...el.registeredEditors,function(){
if (this.element &&... @177:34)
Any idea if there is something wrong with the sample code? Or am I doing something wrong?
Thanks,
Andrew
1
Categories
- 7.9K Questions
- 926 Ideas
- 220 Discussion Categories
- 178 General
- 9 Community Feedback
- 3 Community Info
- 18 Knowledge Base
Comments
Mark DeSimone
So, if you paste the XML code on line 177 with the following, it should be interpreted correctly by our XML editor while it works to import the XML into a Skuid page. The XML interpreter just isn't happy that there are &s present because those are reserved characters in XML. Of course they'd be perfectly allowed if this was a .js file, and they should be handled correctly once Skuid puts those Javascript snippets into action at runtime.
Hope this helps!
Mark