>>> Hi !
>>>
[quoted text clipped - 15 lines]
> But the last thing you want to do is convert characters to bytes so that the
> XML parser can convert them back to characters.
I agree. But miki miska asked how to "Streamizie a string", so that he/she could
use it in .parse(InputStream). This goes to show how flawed the API is. Instead
of simply having .parse(Reader), one has to take one extra step:
.parse(InputSource). Moreover, .parse(String) doesn't quite do what one might
expect. As if java.lang.URI wouldn't exist and String had to take its place.
What can I say, some (Sun-?)mastermind's brainfart, I guess.
Mike Schilling - 29 May 2006 16:16 GMT
>>>> Hi !
>>>>
[quoted text clipped - 19 lines]
> could use it in .parse(InputStream). This goes to show how flawed the API
> is.
Yes. People often ask a question that's too specific.
> Instead of simply having .parse(Reader), one has to take one extra step:
> .parse(InputSource). Moreover, .parse(String) doesn't quite do what one
> might expect. As if java.lang.URI wouldn't exist and String had to take
> its place. What can I say, some (Sun-?)mastermind's brainfart, I guess.
miki miska - 03 Jul 2006 14:06 GMT
> >>>> Hi !
> >>>>
[quoted text clipped - 26 lines]
> > might expect. As if java.lang.URI wouldn't exist and String had to take
> > its place. What can I say, some (Sun-?)mastermind's brainfart, I guess.
Well, Miki miska thanks to all informations he got :)