[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: [xmlblaster-devel] XML generation



Title: RE: [xmlblaster-devel] XML generation

Marcel,

The issues you're mentioning are indeed very important.
But the thing is when you have an xmlblaster client publishing a message
with eg. the oid = Jack&Moud, you'll get a parse error on the server side,
because the XML that is sent over between client and server is invalid.

As long as the application programmer does not use any 'special' characters,
everything should work fine.  But I think it's not a good idea to put
a restriction on the use of 'special' characters.

Regards,
Nicolas.

-----Original Message-----
From: owner-xmlblaster-devel at server.xmlBlaster.org
[mailto:owner-xmlblaster-devel at server.xmlBlaster.org]On Behalf Of Marcel
Ruff
Sent: vrijdag 6 augustus 2004 9:49
To: xmlblaster-devel at server.xmlBlaster.org
Subject: Re: [xmlblaster-devel] XML generation


Quartier, Nicolas wrote:
> Hi,
>
> The xml used by XMLBlaster is parsed with a SAX parser it seems.
>
> But for the generation of XML strings, no parser is used, resulting in
> incorrect XML. (StringBuffers are used to generate the XML strings)
>
> The result is that special characters like &, at , ... can not be used.
> eg "Jack&Moud" needs to be translated into "Jack&Moud".
>
> Further information can be found on:
> http://www.javazoom.net/services/newsletter/xmlgeneration.html

This is a nice overview, our constraints to change
to another xml generation technique are:

  - support for JDK 1.2 up to 1.5
  - keep performance
  - portability


regards

Marcel
>
>
> Has anyone else already tried to used some of those special characters ?
>
> Kind regards,
> Nicolas.
>


--
http://www.xmlBlaster.org