André Gillibert
2007-09-29 16:37:10 UTC
Is <![RCDATA[hello]]> a valid marked section (with the reference concrete
syntax), or is a whitespace character (SPACE, RE, RS or SEPCHAR) or
comment necessary before the status keyword?
From the references I found about SGML such as
<ftp://ftp.ifi.uio.no/pub/SGML/productions>, it seems that this spacing
character (or a comment) is necessary.
1) Some people don't put this spacing character (ok, it proves nothing).
2) Validators and tools I've used (such as SP or the W3C validator) accept
<![RCDATA[hello]]> without warning.
3) XML, which is supposed to be, more or less, a subset of SGML, requires
a very strict syntaxic subset for marked sections, *without* spacing
character.
syntax), or is a whitespace character (SPACE, RE, RS or SEPCHAR) or
comment necessary before the status keyword?
From the references I found about SGML such as
<ftp://ftp.ifi.uio.no/pub/SGML/productions>, it seems that this spacing
character (or a comment) is necessary.
[97] status keyword specification (10.4.2, 393:1) =
( *( +ps [65],
( status keyword [100]
| "TEMP" ) ),
*ps [65] )
However, I found that:( *( +ps [65],
( status keyword [100]
| "TEMP" ) ),
*ps [65] )
1) Some people don't put this spacing character (ok, it proves nothing).
2) Validators and tools I've used (such as SP or the W3C validator) accept
<![RCDATA[hello]]> without warning.
3) XML, which is supposed to be, more or less, a subset of SGML, requires
a very strict syntaxic subset for marked sections, *without* spacing
character.
[18] CDSect ::= CDStart CData CDEnd
[19] CDStart ::= '<![CDATA['
[20] CData ::= (Char* - (Char* ']]>' Char*))
[21] CDEnd ::= ']]>'
So, is this spacing character required?[19] CDStart ::= '<![CDATA['
[20] CData ::= (Char* - (Char* ']]>' Char*))
[21] CDEnd ::= ']]>'
--
You can contact me at <***@yahoDELETETHATo.fr>
You can contact me at <***@yahoDELETETHATo.fr>