xom-interest AT lists.ibiblio.org
Subject: XOM API for Processing XML with Java
List archive
Re: [XOM-interest] Serializer and line breaks in attribute values
- From: "Marc Ramsey" <marc AT ranlog.com>
- To: <xom-interest AT lists.ibiblio.org>, "Elliotte Rusty Harold" <elharo AT metalab.unc.edu>
- Cc:
- Subject: Re: [XOM-interest] Serializer and line breaks in attribute values
- Date: Wed, 19 Nov 2003 10:47:58 -0800
> Yes, this is the intended behavior. XOM does everything it can to
> ensure preservation of white space, unless you tell it to not
> preserve white space. In this case, it will break anywhere it can.
>
> You should note that preserving white space in attributes is *very*
> tricky. Parsers often remove, trim, and compress white space in
> attributes before XOM ever sees them.
Thanks. This is one of those subtle nuances of XML that I was vaguely aware
of, but I never considered the full implications until it bit me...
Thanks,
Marc
-
[XOM-interest] Serializer and line breaks in attribute values,
Marc Ramsey, 11/19/2003
- Re: [XOM-interest] Serializer and line breaks in attribute values, John Cowan, 11/19/2003
-
Re: [XOM-interest] Serializer and line breaks in attribute values,
Elliotte Rusty Harold, 11/19/2003
-
Re: [XOM-interest] Serializer and line breaks in attribute values,
John Cowan, 11/19/2003
-
Re: [XOM-interest] Serializer and line breaks in attribute values,
Marc Ramsey, 11/19/2003
- Re: [XOM-interest] Serializer and line breaks in attribute values, John Cowan, 11/19/2003
-
Re: [XOM-interest] Serializer and line breaks in attribute values,
Marc Ramsey, 11/19/2003
- Re: [XOM-interest] Serializer and line breaks in attribute values, Marc Ramsey, 11/19/2003
-
Re: [XOM-interest] Serializer and line breaks in attribute values,
John Cowan, 11/19/2003
Archive powered by MHonArc 2.6.24.