OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.


Help: OASIS Mailing Lists Help | MarkMail Help

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [xml-dev] Using '--' in comments

Cliff Martin scripsit:

> <?xml version="1.0" encoding="UTF-8"?>
> <test>
>         <!-- this command has one option --workdir -->
>         <cmd>test.exe --workdir c:/test</cmd>
> </test>
> For some reason I can not use '--' in a comment. Is this by design, and if
> so how do I overcome it?

Yes, by design.  The only thing you can do is to break up the "--" somehow,
using "- -" or "-" or whatever.  This is for SGML compatibility.

> Cliff Martin
> -----------------------------------------------------------------
> The xml-dev list is sponsored by XML.org <http://www.xml.org>, an
> initiative of OASIS <http://www.oasis-open.org>
> The list archives are at http://lists.xml.org/archives/xml-dev/
> To subscribe or unsubscribe from this list use the subscription
> manager: <http://lists.xml.org/ob/adm.pl>

John Cowan           http://www.ccil.org/~cowan              cowan@ccil.org
Please leave your values        |       Check your assumptions.  In fact,
   at the front desk.           |          check your assumptions at the door.
     --sign in Paris hotel      |            --Miles Vorkosigan