From: Taco Hoekwater <taco@elvenkind.com>
Cc: pragma@wxs.nl, ntg-context@ntg.nl
Subject: Re: CDATA/XML
Date: Wed, 6 Mar 2002 14:54:23 +0100 [thread overview]
Message-ID: <20020306145423.73169103.taco@elvenkind.com> (raw)
In-Reply-To: <3C85FFDB.3652E803@detewe.de>
On Wed, 06 Mar 2002 12:39:07 +0100
"Michael Wiedmann" <michael.wiedmann@detewe.de> wrote:
> Hans Hagen wrote:
> [...]
> > actually, CDATA is handled in xtag-pre but the problem is using a space as
> > delimiter (will have a look)
> >
> > is <![ always CDATA ?
In an XML instance, yes.
> No,
> there are so-called conditional sections which start with "<![" too
> (e.g. "<![IGNORE[", "<![INCLUDE[").
These are only allowed in the external subset (in a DTD). Because ConTeXt doesn't
parse DTDs, it doesn't really matter. Which is a good thing, because this is also
legal wrt. conditional sections:
<!ENTITY % draft 'INCLUDE' >
<!ENTITY % final 'IGNORE' >
<![%draft;[
<!ELEMENT editedbook (comments*, title, body, supplements?)>
<![ %final; [
<!ELEMENT book (title, body, supplements?)>
]]>]]>
and parsing all that is well beyond the scope of the current parser. ;)
--
groeten,
Taco
next prev parent reply other threads:[~2002-03-06 13:54 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-03-05 19:30 CDATA/XML Michael Wiedmann
2002-03-06 8:19 ` CDATA/XML Taco Hoekwater
2002-03-06 9:45 ` CDATA/XML Taco Hoekwater
2002-03-06 10:17 ` CDATA/XML Hans Hagen
2002-03-06 11:39 ` CDATA/XML Michael Wiedmann
2002-03-06 12:42 ` CDATA/XML Hans Hagen
2002-03-06 13:56 ` CDATA/XML Taco Hoekwater
2002-03-06 13:54 ` Taco Hoekwater [this message]
2002-03-06 10:50 ` CDATA/XML Hans Hagen
2002-03-06 19:45 ` CDATA/XML Michael Wiedmann
2002-03-06 21:48 ` CDATA/XML Hans Hagen
2002-03-13 12:47 ` CDATA/XML Michael Wiedmann
2002-03-13 14:32 ` CDATA/XML Taco Hoekwater
2002-03-13 14:34 ` CDATA/XML Hans Hagen
2002-03-06 11:09 ` CDATA/XML Michael Wiedmann
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20020306145423.73169103.taco@elvenkind.com \
--to=taco@elvenkind.com \
--cc=ntg-context@ntg.nl \
--cc=pragma@wxs.nl \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).