W3C home > Mailing lists > Public > w3c-ietf-xmldsig@w3.org > January to March 2002

Re: Whitespace

From: Ed Simon <edsimon@xmlsec.com>
Date: Sun, 20 Jan 2002 18:12:48 -0500
Message-ID: <000901c1a208$00640ec0$6400a8c0@DJQC7111>
To: "Christian Geuer-Pollmann" <geuer-pollmann@nue.et-inf.uni-siegen.de>, "Brian LaMacchia" <bal@microsoft.com>, <reagle@w3.org>
Cc: <w3c-ietf-xmldsig@w3.org>
I'll agree with Brian too and add, to Christian's comment, that to control
whitespace treatment in the content an app could do the following, for
example, with an enveloping child element.

Perhaps this may be the best solution regardless of our time constraints.
that whitespace outside the envelope is not controllable the xml:space
but this may be OK.)

<custom:Envelope  xml:space="preserve>
<custom:Elem1> ... </custom:Elem1>
<custom:Elem2 xml:space="default"> ... </custom:Elem2>


----- Original Message -----
From: "Christian Geuer-Pollmann" <geuer-pollmann@nue.et-inf.uni-siegen.de>
To: "Brian LaMacchia" <bal@microsoft.com>; <reagle@w3.org>
Cc: <w3c-ietf-xmldsig@w3.org>
Sent: Saturday, January 12, 2002 6:54 AM
Subject: RE: Whitespace

> --On Freitag, 11. Januar 2002 17:30 -0800 Brian LaMacchia
> <bal@microsoft.com> wrote:
> > 3) If we were going to put the attribute anywhere, then I believe
> > Joseph's comment is correct that it would be more appropriate for the
> > attribute to go on ext:Foo.  (Notice that since dsig:Object does not
> > itself have any significant semantic beyond a mere container, it is the
> > case that in fact doing it this way (on ext:foo) is fully equivalently
> > expressive.)
> I agree with Brian about that this is a good solution if the schema is
> _not_ tweaked.
> I am no schema crack, but if the dsig schema cannot be overwritten in a
> that an application re-defined a ds:Object to contain only Elements (so
> that xml:space would be important for direct ds:Object/text() children,
> then the application developer can put the xml:space='preserve' into every
> element child of the ds:Object:
> <ds:Object>
> <custom:Elem1 xml:space="preserve"> ... </custom:Elem1>
>      <custom:Elem2 xml:space="preserve"> ... </custom:Elem2>
> </ds:Object>

Received on Sunday, 20 January 2002 18:13:50 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 21:21:37 UTC