You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cocoon.apache.org by Julian <ce...@yahoo.com> on 2004/03/01 22:29:41 UTC
(Aggregated) Document Entities Serialize Incorrectly
Hi,
I am using Cocoon 2.1 with j2sdk 1.4.1_02.
When I transform an aggregated document, I am
inserting the " " to separate various strings. After
transforming the document, it is serialized as xml.
Finally, the serialized document has "�" instead of a
white space (otherwise known as "�"). When I
serialize as html, I get the nbsp entity. Finally,
when I do not use sitemap aggregation and/or
transformation, the problem persists. It seems as if
the serializer is not recognizing this entity
correctly! I am trying to have the document pulled
down as xml and then tranformed to html by the
browser's built in xsl processor. Any help is greatly
appreciated.
Thanks,
Julian
=====
Live simply so others may simply live.
�
-Ghandi
�
Pluralitas non est ponenda sine neccesitate.
"Entities should not be multiplied unneccesarily"
�
-William of Occam
__________________________________
Do you Yahoo!?
Get better spam protection with Yahoo! Mail.
http://antispam.yahoo.com/tools
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org
Re: ASCII Codes... was (Aggregated) Document Entities Serialize Incorrectly
Posted by Julian <ce...@yahoo.com>.
Jan,
Thanks for you suggestions. To be frank, I had placed
the ascii code "160" in my xml document as it was
generated server side with xslt. I replaced this
method with xsl:text in my stylesheet and problem
solved.
On the other hand, the problem persists with ascii
codes. Anytime I use an ascii code, a capital A with
an accent circumflex is placed in front of the
character represented by the ascii code. I tried
various encoding values (e.g. ISO-8859-1, UTF-8) in
the xml and no change in behavior regardless of the
pipeline structure. However, when I load the document
straight from the disk without Cocoon, there is no
problem.
Thanks again,
Julian
--- Jan Hoskens <jh...@schaubroeck.be> wrote:
> You mean when you do an XSLT transformation you want
> to have space between
> sentences? If you want to insert a space in XSLT you
> can use <xsl:text>
> </xsl:text>. If not check you're encodings with each
> page, those might
> reveal something...
>
> Hope this helps,
> Jan
>
> ----- Original Message -----
> From: "Julian" <ce...@yahoo.com>
> To: <us...@cocoon.apache.org>
> Sent: Monday, March 01, 2004 10:31 PM
> Subject: Re: (Aggregated) Document Entities
> Serialize Incorrectly
>
>
> > Sorry folks, but I meant:
> >
> > ....When I transform an aggregated document, I am
> > inserting the "&160;" to separate various
> strings.
> >
> > After.....
> >
> > --- Julian <ce...@yahoo.com> wrote:
> > > Hi,
> > >
> > > I am using Cocoon 2.1 with j2sdk 1.4.1_02.
> > >
> > > When I transform an aggregated document, I am
> > > inserting the " " to separate various strings.
> > > After
> > > transforming the document, it is serialized as
> xml.
> > >
> > > Finally, the serialized document has "�" instead
> of
> > > a
> > > white space (otherwise known as "�"). When I
> > > serialize as html, I get the nbsp entity.
> Finally,
> > > when I do not use sitemap aggregation and/or
> > > transformation, the problem persists. It seems
> as
> > > if
> > > the serializer is not recognizing this entity
> > > correctly! I am trying to have the document
> pulled
> > > down as xml and then tranformed to html by the
> > > browser's built in xsl processor. Any help is
> > > greatly
> > > appreciated.
> > >
> > > Thanks,
> > > Julian
> > >
> > > =====
> > > Live simply so others may simply live.
> > >
> > > -Ghandi
> > >
> > > Pluralitas non est ponenda sine neccesitate.
> > > "Entities should not be multiplied
> unneccesarily"
> > >
> > > -William of Occam
> > >
> > > __________________________________
> > > Do you Yahoo!?
> > > Get better spam protection with Yahoo! Mail.
> > > http://antispam.yahoo.com/tools
> > >
> > >
> >
>
---------------------------------------------------------------------
> > > To unsubscribe, e-mail:
> > > users-unsubscribe@cocoon.apache.org
> > > For additional commands, e-mail:
> > > users-help@cocoon.apache.org
> > >
> >
> >
> > =====
> > Live simply so others may simply live.
> >
> > -Ghandi
> >
> > Pluralitas non est ponenda sine neccesitate.
> > "Entities should not be multiplied unneccesarily"
> >
> > -William of Occam
> >
> > __________________________________
> > Do you Yahoo!?
> > Get better spam protection with Yahoo! Mail.
> > http://antispam.yahoo.com/tools
> >
> >
>
---------------------------------------------------------------------
> > To unsubscribe, e-mail:
> users-unsubscribe@cocoon.apache.org
> > For additional commands, e-mail:
> users-help@cocoon.apache.org
> >
>
>
>
---------------------------------------------------------------------
> To unsubscribe, e-mail:
> users-unsubscribe@cocoon.apache.org
> For additional commands, e-mail:
> users-help@cocoon.apache.org
>
=====
Live simply so others may simply live.
�
-Ghandi
�
Pluralitas non est ponenda sine neccesitate.
"Entities should not be multiplied unneccesarily"
�
-William of Occam
__________________________________
Do you Yahoo!?
Yahoo! Search - Find what you�re looking for faster
http://search.yahoo.com
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org
Re: (Aggregated) Document Entities Serialize Incorrectly
Posted by Jan Hoskens <jh...@schaubroeck.be>.
You mean when you do an XSLT transformation you want to have space between
sentences? If you want to insert a space in XSLT you can use <xsl:text>
</xsl:text>. If not check you're encodings with each page, those might
reveal something...
Hope this helps,
Jan
----- Original Message -----
From: "Julian" <ce...@yahoo.com>
To: <us...@cocoon.apache.org>
Sent: Monday, March 01, 2004 10:31 PM
Subject: Re: (Aggregated) Document Entities Serialize Incorrectly
> Sorry folks, but I meant:
>
> ....When I transform an aggregated document, I am
> inserting the "&160;" to separate various strings.
>
> After.....
>
> --- Julian <ce...@yahoo.com> wrote:
> > Hi,
> >
> > I am using Cocoon 2.1 with j2sdk 1.4.1_02.
> >
> > When I transform an aggregated document, I am
> > inserting the " " to separate various strings.
> > After
> > transforming the document, it is serialized as xml.
> >
> > Finally, the serialized document has "Â" instead of
> > a
> > white space (otherwise known as "Â"). When I
> > serialize as html, I get the nbsp entity. Finally,
> > when I do not use sitemap aggregation and/or
> > transformation, the problem persists. It seems as
> > if
> > the serializer is not recognizing this entity
> > correctly! I am trying to have the document pulled
> > down as xml and then tranformed to html by the
> > browser's built in xsl processor. Any help is
> > greatly
> > appreciated.
> >
> > Thanks,
> > Julian
> >
> > =====
> > Live simply so others may simply live.
> >
> > -Ghandi
> >
> > Pluralitas non est ponenda sine neccesitate.
> > "Entities should not be multiplied unneccesarily"
> >
> > -William of Occam
> >
> > __________________________________
> > Do you Yahoo!?
> > Get better spam protection with Yahoo! Mail.
> > http://antispam.yahoo.com/tools
> >
> >
> ---------------------------------------------------------------------
> > To unsubscribe, e-mail:
> > users-unsubscribe@cocoon.apache.org
> > For additional commands, e-mail:
> > users-help@cocoon.apache.org
> >
>
>
> =====
> Live simply so others may simply live.
>
> -Ghandi
>
> Pluralitas non est ponenda sine neccesitate.
> "Entities should not be multiplied unneccesarily"
>
> -William of Occam
>
> __________________________________
> Do you Yahoo!?
> Get better spam protection with Yahoo! Mail.
> http://antispam.yahoo.com/tools
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
> For additional commands, e-mail: users-help@cocoon.apache.org
>
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org
Re: (Aggregated) Document Entities Serialize Incorrectly
Posted by Julian <ce...@yahoo.com>.
Sorry folks, but I meant:
....When I transform an aggregated document, I am
inserting the "&160;" to separate various strings.
After.....
--- Julian <ce...@yahoo.com> wrote:
> Hi,
>
> I am using Cocoon 2.1 with j2sdk 1.4.1_02.
>
> When I transform an aggregated document, I am
> inserting the " " to separate various strings.
> After
> transforming the document, it is serialized as xml.
>
> Finally, the serialized document has "�" instead of
> a
> white space (otherwise known as "�"). When I
> serialize as html, I get the nbsp entity. Finally,
> when I do not use sitemap aggregation and/or
> transformation, the problem persists. It seems as
> if
> the serializer is not recognizing this entity
> correctly! I am trying to have the document pulled
> down as xml and then tranformed to html by the
> browser's built in xsl processor. Any help is
> greatly
> appreciated.
>
> Thanks,
> Julian
>
> =====
> Live simply so others may simply live.
>
> -Ghandi
>
> Pluralitas non est ponenda sine neccesitate.
> "Entities should not be multiplied unneccesarily"
>
> -William of Occam
>
> __________________________________
> Do you Yahoo!?
> Get better spam protection with Yahoo! Mail.
> http://antispam.yahoo.com/tools
>
>
---------------------------------------------------------------------
> To unsubscribe, e-mail:
> users-unsubscribe@cocoon.apache.org
> For additional commands, e-mail:
> users-help@cocoon.apache.org
>
=====
Live simply so others may simply live.
�
-Ghandi
�
Pluralitas non est ponenda sine neccesitate.
"Entities should not be multiplied unneccesarily"
�
-William of Occam
__________________________________
Do you Yahoo!?
Get better spam protection with Yahoo! Mail.
http://antispam.yahoo.com/tools
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org