[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Re: Cloning XML
- From: Matthew Wild <mwild1@...>
- Date: Wed, 20 May 2015 19:58:07 +0100
On 19 May 2015 at 03:44, Coda Highland <firstname.lastname@example.org> wrote:
> On Mon, May 18, 2015 at 7:40 PM, Jay Carlson <email@example.com> wrote:
>> On 2015-05-18, at 5:19 PM, Coda Highland <firstname.lastname@example.org> wrote:
>>> On Mon, May 18, 2015 at 2:15 PM, Jay Carlson <email@example.com> 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 there is nothing you can notice outside the Infoset.
>> : “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.
: I appreciate we don't always get to design the systems we have to