DICE PACKS BUNDLE
  1. #1
    dr_venture's Avatar
    Join Date
    Apr 2009
    Location
    Yosemite, CA
    Posts
    1,125

    FG support for CDATA?

    I notice that the scripts I'm working with have "&lt;" instead of "<", which makes sence, since the scripts are directly embedded into an XML document. However, I really, really hate reading that.

    Does anyone know of FG supports the use of the CDATA XML tag to embed text content? I could test it, but I'd rather know for certain that it's actually supported (as opposed to "it seems to work") before I start embedding scripts with CDATA tags.
    "A ship in harbor is safe, but that is not what ships are built for." - John Shedd
    "Why is it every time we need to get somewhere, I get waylaid by jackassery?" - Dr. Thaddeus Venture
    -- CA (Pacific time zone) --

  2. #2

    Join Date
    Mar 2006
    Location
    Arkansas
    Posts
    7,381
    No, FG doesn't support CDATA.

  3. #3
    dr_venture's Avatar
    Join Date
    Apr 2009
    Location
    Yosemite, CA
    Posts
    1,125
    Thanks, Griogre... that's what I figured.

    *grumble*
    "A ship in harbor is safe, but that is not what ships are built for." - John Shedd
    "Why is it every time we need to get somewhere, I get waylaid by jackassery?" - Dr. Thaddeus Venture
    -- CA (Pacific time zone) --

  4. #4
    phantomwhale's Avatar
    Join Date
    Aug 2007
    Location
    Melbourne, Australia
    Posts
    1,370
    Better to put that code into separate lua files and include them with the <script> tag.
    Former SW ruleset / Deadlands extension author. Now I just wanna play a few games. And maybe hack. A little.

  5. #5
    For what it's worth, Lua code in CDATA appears to be supported in 3.3. However, FG Unity does not appear to recognise it so, yeah, not really supported.

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