[OS X TeX] (OT) Speaking of plist files...

Maarten Sneep maarten.sneep at xs4all.nl
Sat Nov 25 23:23:12 CET 2006


On 25-nov-2006, at 21:01, Jan Anderssen wrote:

> Hi -
>
> sorry this is fairly unspecific, just an observation.
>
> On Nov 21, 2006, at 9:43 AM, Herbert Schulz wrote:
>
>> Are .plist files supposed to allow nested comments? Both plist  
>> editors I have (PlistEdit Pro and Apple's Property List Editor)  
>> are unhappy with them.
>
> I've never noticed an xml format which allowed nested comments of  
> the form <!-- comment <!-- comment 2 --> -->. I don't know if it's  
> a general limitation of xml though.

"XML in a nutshell" (big nuts, but I digress) says:

XML comments are syntactically similare to HTML comments. Just as in  
HTML, the begin with <!-- and end with the first occurence of -->.  
The double hyphen must not appear anywhere inside the comment until  
the closing -->. In particular, a three hyphen close like ---> is  
specifically forbidden.

A bit further it is explicitly stated that nested comments are not  
allowed in XML.

HTMH,

Maarten
------------------------- Info --------------------------
Mac-TeX Website: http://www.esm.psu.edu/mac-tex/
          & FAQ: http://latex.yauh.de/faq/
TeX FAQ: http://www.tex.ac.uk/faq
List Archive: http://tug.org/pipermail/macostex-archives/




More information about the macostex-archives mailing list