XML Parser fix

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

XML Parser fix

NorbertHartl
Ancestors: XML-Parser.g-NorbertHartl.117
===========================

Name: XML-Parser.g-NorbertHartl.117
Author: NorbertHartl
Time: 07/26/2011, 19:28:07
UUID: 7d29e381-474b-42a4-9d96-7c8c7084b3b3
Ancestors: XML-Parser.g-JohanBrichau.116

implemented MulitByteString>>asXMLString (copied from String).

XML-Parser uses this method when adding string only content in order to convert it to XMLString. In case of Double- or QuadByteString you get a DNU when trying to add to xml
---------------------------

FYI,

Norbert

Reply | Threaded
Open this post in threaded view
|

Re: XML Parser fix

Johan Brichau-2
Would it not be better to pull up to CharacterCollection then?

On 26 Jul 2011, at 19:29, Norbert Hartl wrote:

> Ancestors: XML-Parser.g-NorbertHartl.117
> ===========================
>
> Name: XML-Parser.g-NorbertHartl.117
> Author: NorbertHartl
> Time: 07/26/2011, 19:28:07
> UUID: 7d29e381-474b-42a4-9d96-7c8c7084b3b3
> Ancestors: XML-Parser.g-JohanBrichau.116
>
> implemented MulitByteString>>asXMLString (copied from String).
>
> XML-Parser uses this method when adding string only content in order to convert it to XMLString. In case of Double- or QuadByteString you get a DNU when trying to add to xml
> ---------------------------
>
> FYI,
>
> Norbert
>

Reply | Threaded
Open this post in threaded view
|

Re: XML Parser fix

NorbertHartl
I was thinking about the same. But decided it is better this way. At least the name asXMLString can be seen as strange if found in CharacterCollection. If you have a stronger feeling about the method being in CharacterCollection just change it.

Norbert

Am 26.07.2011 um 20:11 schrieb Johan Brichau:

Would it not be better to pull up to CharacterCollection then?

On 26 Jul 2011, at 19:29, Norbert Hartl wrote:

Ancestors: XML-Parser.g-NorbertHartl.117
===========================

Name: XML-Parser.g-NorbertHartl.117
Author: NorbertHartl
Time: 07/26/2011, 19:28:07
UUID: 7d29e381-474b-42a4-9d96-7c8c7084b3b3
Ancestors: XML-Parser.g-JohanBrichau.116

implemented MulitByteString>>asXMLString (copied from String).

XML-Parser uses this method when adding string only content in order to convert it to XMLString. In case of Double- or QuadByteString you get a DNU when trying to add to xml
---------------------------

FYI,

Norbert