The following warnings occurred:
Warning [2] Undefined array key "threadviews_countguests" - Line: 745 - File: showthread.php PHP 8.1.31 (Linux)
File Line Function
/inc/class_error.php 153 errorHandler->error
/showthread.php 745 errorHandler->error_callback
Warning [2] Undefined array key "allowautourl" - Line: 584 - File: inc/class_parser.php PHP 8.1.31 (Linux)
File Line Function
/inc/class_error.php 153 errorHandler->error
/inc/class_parser.php 584 errorHandler->error_callback
/inc/class_parser.php 228 postParser->parse_mycode
/inc/functions_post.php 830 postParser->parse_message
/showthread.php 916 build_postbit
Warning [2] Undefined array key "allowautourl" - Line: 584 - File: inc/class_parser.php PHP 8.1.31 (Linux)
File Line Function
/inc/class_error.php 153 errorHandler->error
/inc/class_parser.php 584 errorHandler->error_callback
/inc/class_parser.php 228 postParser->parse_mycode
/inc/functions_post.php 861 postParser->parse_message
/showthread.php 916 build_postbit
Warning [2] Undefined property: MyLanguage::$thread_modes - Line: 46 - File: showthread.php(1650) : eval()'d code PHP 8.1.31 (Linux)
File Line Function
/inc/class_error.php 153 errorHandler->error
/showthread.php(1650) : eval()'d code 46 errorHandler->error_callback
/showthread.php 1650 eval




Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
CDATA and entity coded chars
#1
I notice that GS uses entity coding for any special chars like "<>&" in the CDATA sections of the XML files.

I'm certainly no XML guru, but my understanding of CDATA is that you don't need to do that, in that the point of having a CDATA section is that the XML parser parses it as is without any conversions? Is there a particular reason that GS does it this way? Perhaps for a subsequent parser further down the processing stream?

The reason I ask is because I will be hand-editing the XML files and would much prefer not to have to use entity coding if I don't really need to.

Many thanks,
Nick
Reply


Messages In This Thread
CDATA and entity coded chars - by NickC - 2010-04-15, 13:52:03
CDATA and entity coded chars - by NickC - 2010-04-17, 11:36:27



Users browsing this thread: 1 Guest(s)