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

Re: Additional syntactic restrictions




At 12:21 02/06/17 +0200, Chris Lilley wrote:


Protocols MUST NOT mandate special purpose parsers that cope only with
subsets of XML. Parsers designed to enforce as errors, restrictions
that are not error conditions in XML (such as, UTF-16 is an error)
MUST NOT be labelled as XML parsers.

We are in agreement here.


If a protocol restricts itself to UTF-8, then it's not the parser,
but the application, that must enforce the restriction.

Regards, Martin.