lua-users home
lua-l archive

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

On 19 May 2015 at 03:44, Coda Highland <> wrote:
> On Mon, May 18, 2015 at 7:40 PM, Jay Carlson <> wrote:
>> On 2015-05-18, at 5:19 PM, Coda Highland <> wrote:
>>> On Mon, May 18, 2015 at 2:15 PM, Jay Carlson <> wrote:
>>>> These all reflect the XML Infoset, which is the only data guaranteed to be communicated between parties using XML.
>>> This is explicitly counter to the stated goal of round-tripping the document.
>> If you are an XML processor[1] there is nothing you can notice outside the Infoset.
>> Jay
>> [1]: “It’s sort of a limited existence.”
> All that means is that there are tools which operate on XML which are
> not XML processors.
> I'm okay with this. XML is a mess anyway.

So it would be ok to request a JSON processor that has to correctly
modify a JSON document while preserving things irrelevant to the data
- like whitespace, whether key names are quoted, and what kind of
quotes are used?

If a system has requirements for such a thing in its design, I'd
suggest there may be a flaw in that design[1].


[1]: I appreciate we don't always get to design the systems we have to
interop with...