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: John Cowan <cowan AT mercury.ccil.org>
- To: Marc Ramsey <marc AT ranlog.com>
- Cc: xom-interest AT lists.ibiblio.org
- Subject: Re: [XOM-interest] Serializer and line breaks in attribute values
- Date: Wed, 19 Nov 2003 09:06:50 -0500
Marc Ramsey scripsit:
> When Serializer.setMaxLength has been called with a value greater than
> zero, line breaks will be inserted in attribute values which happen to
> cross the boundary. Is this the intended behavior, or should white
> space be preserved within attribute values?
It's part of the definition of XML that line breaks within attribute
values are changed to spaces before being passed to the application.
This does not apply to line-break characters expressed as character
references.
So it's perfectly correct for Serializer to do this.
--
It was impossible to inveigle John Cowan <jcowan AT reutershealth.com>
Georg Wilhelm Friedrich Hegel http://www.ccil.org/~cowan
Into offering the slightest apology http://www.reutershealth.com
For his Phenomenology. --W. H. Auden, from "People"
(1953)
-
[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.