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

Re: Issue 5.1) SSH End of message directive



>>>>> Wes Hardaker writes:

Ed> That was a scarey throught at first =) But I guess that the
Ed> parsers and renders need to translate '<' to &lt; and '>' to &gt;,
Ed> else you have problems no matter what.  The text content needs to
Ed> translate the (I think) 5 standard entities on rendering, and
Ed> parsers auto-convert them when parsing.

Correct. Normal XML data can not contain <?NETCONF-EOF-VERSION-1?> :-)

Wes> Yeah, but isn't that not true in CDATA related sections which is
Wes> bounded by a different special delimiter?

The CDATA section is bounded by a different special delimiter but
inside you can have <?EOM?> in its plain format. So a receiver which
just reads until it got <?EOM?> will fail. Perhaps the <?EOM?> must
also include some sort of CDATA delimiter to escape this as well.
Requires careful reading of the XML specification (or a real XML
expert who reads it for us. ;-)

/js

-- 
Juergen Schoenwaelder		    International University Bremen
<http://www.eecs.iu-bremen.de/>	    P.O. Box 750 561, 28725 Bremen, Germany



--
to unsubscribe send a message to netconf-request@ops.ietf.org with
the word 'unsubscribe' in a single line as the message text body.
archive: <http://ops.ietf.org/lists/netconf/>