FG Spreadshirt Swag
Page 2 of 2 First 12
  1. #11

    Join Date
    Feb 2006
    Location
    Fairfax County, Virginia
    Posts
    499
    The / character is not by default defined in a character entity in XML. In fact, there are only five defaults: " ' & < >

    You can (should be able to) obtain the / character using the numeric entity reference, using its Unicode value, like this: &#38;#47;

    It's also possible that the problem occurs when moving over to the LUA side of things. The documentation doesn't say how the XML is parsed into the script environment when the relevant LUA script is executed, and it's possible that the value assigned to <i>name</i> gets picked directly from the XML and is used as an unquoted literal that gets tokenized. If that's the case, then using the XML escape shown above may not help.

    In any case, it's probably a good idea to avoid using any non-alphanumeric character for any XML token, including the values assigned to attributes. (Data contained within tags is another matter, although we already know that you have to put &lt; and &gt; inside any inline LUA scripts.) Using "magic_resonance" or "magicresonance" would be a solution.

  2. #12
    Thanks muchly for the XML and Lua info, gentlemen.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Starfinder Playlist

Log in

Log in