Dan,

Would it be better if we added a generic word, stream-element-type,
which returned +byte+ or +character+, then the XML parser would simply
skip the auto-detection step if the element type was +character+ ?

Slava

On Sun, Mar 15, 2009 at 2:46 PM, Daniel Ehrenberg <[email protected]> wrote:
> OK, I need to change XML then. The string>xml word would serve your
> purposes here, but there's no equivalent for each-element. The problem
> is, UTF-8 is being decoded twice! So I'll make an string-each-element
> word which'll suit this purpose.
>
> Dan
>
> On Sun, Mar 15, 2009 at 2:15 PM, Sascha Matzke <[email protected]> 
> wrote:
>> Hi,
>>
>>> Your code doesn't work because the XML parser auto-detects encodings,
>>> and thus it needs a binary stream, not a character stream.
>>
>> the problem is, that in my original use-case (the file is just a
>> workaround to reproduce the issue) I get the XML via HTTP GET
>> (http-get word) - which exibits the same behavior. Should I re-encode
>> the data returned by http-get into a byte-array to make the xml parser
>> work?
>>
>> Sascha
>> --
>> Through the darkness of future past
>> the magician longs to see
>> One chants out between two worlds
>> Fire walk with me.
>>
>> ------------------------------------------------------------------------------
>> Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are
>> powering Web 2.0 with engaging, cross-platform capabilities. Quickly and
>> easily build your RIAs with Flex Builder, the Eclipse(TM)based development
>> software that enables intelligent coding and step-through debugging.
>> Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com
>> _______________________________________________
>> Factor-talk mailing list
>> [email protected]
>> https://lists.sourceforge.net/lists/listinfo/factor-talk
>>
>
> ------------------------------------------------------------------------------
> Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are
> powering Web 2.0 with engaging, cross-platform capabilities. Quickly and
> easily build your RIAs with Flex Builder, the Eclipse(TM)based development
> software that enables intelligent coding and step-through debugging.
> Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com
> _______________________________________________
> Factor-talk mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/factor-talk
>

------------------------------------------------------------------------------
Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are
powering Web 2.0 with engaging, cross-platform capabilities. Quickly and
easily build your RIAs with Flex Builder, the Eclipse(TM)based development
software that enables intelligent coding and step-through debugging.
Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com
_______________________________________________
Factor-talk mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/factor-talk

Reply via email to