[Oberon] Oberon XML aggravation - and solution
jmdrake_98 at yahoo.com
Wed Jun 25 20:03:47 CEST 2003
I've been experimenting with XML running under
WinAOS. Ultimately I'm trying to get an XMLRPC
client running. (See: http://www.xmlrpc.com/spec )
Anyway I was doing a simple test of building an
XML object then writing it to the AOSLog using
the XML Content.Write method. This worked fine
under Native BlueBottle, but under the Windows
version I only got the last line of the XML
document displayed. The problem? Well the
author of the XML packages used
AosIO.Write(w, CR) all over the place. Under
Native BlueBottle this is fine, but under the
windows version it should be AosIO.Write(w, CRLF).
I changed all of these calls to AosIO.Ln(w)
which works with either the Native or the
Windows version of BlueBottle. Personally I
think that's a better pratice.
Side note: I've made lots of progress on the
XMLRPC client. Currently I'm generating the
correct XML strings. I expect a fully working
version by the end of the week. (Crossing my
John M. Drake
Do you Yahoo!?
SBC Yahoo! DSL - Now only $29.95 per month!
More information about the Oberon