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

Re: Issue 5.1) SSH End of message directive



Juergen Schoenwaelder writes:
>(a) You make a strong claim and I am waiting to see real data that
>    parsing xml declarations or PI add order of magnitude of
>    complexity.
>(b) I completely fail to see how this relates to DTDs.

Communications error: you said "I believe that declarations add
value", which I took to mean all types of declarations (XML
declarations, XML document type declarations, markup declarations,
element type declarations, attribute-list declarations, entity
declarations, and notation declarations).  Implementing the
full set can easily add an order of magnitude to the size and
complexity of an xml parser.

But you were referring to Ted's comment "Note that it is not
necessary to eat blank lines outside the parser if XML
declarations (<?xml version="1.0"?>) are not used."  which
I didn't catch.

Parsing and processing the xml declaration and other PIs is simple
(depending on what the PI requests), since the XML declaration can
only contain version number, encoding style, and the standalone
indication.  Support for arbitrary encoding styles carries a fair
price, but assuming we limit ourselves to UTF-8, and that we don't
support non-standalone documents, having an xml declaration is
goodness especially in light of XML 1.1.

Thanks,
 Phil

--
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/>