[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Chicken-users] whitespace in sxml
From: |
Aleksej Saushev |
Subject: |
Re: [Chicken-users] whitespace in sxml |
Date: |
Sun, 12 Jul 2015 13:47:59 +0300 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.5 (berkeley-unix) |
Hello,
Matt Gushee <address@hidden> writes:
> Hi, Nathaniel--
>
> Unfortunately, I do not have a solution for this. However, I was curious,
> because I saw that Oleg stated the white-space removing behavior was
> deliberate.
> That seemed questionable to me, so I referred to the XML spec
> [http://www.w3.org/TR/2006/REC-xml11-20060816/#sec-white-space], and read:
>
>> An XML processor MUST always pass all characters in a document that are not
>> markup through to the application.
>
> [XML 1.0, BTW, says essentially the same thing]
>
> Now, there is some ambiguity as to what is a "processor" and what is an
> "application,"
JFYI, there's no ambiguity as to what a "processor" is:
"Definition: A software module called an XML processor is used to read
XML documents and provide access to their content and structure."
IOW, anything that reads XML document in a structured way is an XML processor.
> but I would say ssax:xml->sxml is an XML processor, in which case its
> behavior is non-conformant, and you would be entitled to call this issue a
> bug.
>
> Sorry I have nothing more practical to contribute.
--
HE CE3OH...
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- Re: [Chicken-users] whitespace in sxml,
Aleksej Saushev <=