On Wed, 06 Mar 2002 12:39:07 +0100
"Michael Wiedmann" <[EMAIL PROTECTED]> 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

Reply via email to