View previous topic :: View next topic |
Author |
Message |
teqdruid
Joined: 11 May 2004 Posts: 390 Location: UMD
|
Posted: Thu Nov 25, 2004 1:14 pm Post subject: Mango XML Status |
|
|
Does anyone know how the XML stuff is going? Is it usable yet? I've been sitting on some pretty decent XML-RPC code meant for Mango for some time since it uses Andy's XML parser, which isn't really a good candidate for inclusion in Mango.
Also, how does this new ICU stuff effect mango XML? I would imagine one would want the XML stuff to be somewhat coherent with the ICU stuff.
John |
|
Back to top |
|
|
kris
Joined: 27 Mar 2004 Posts: 1494 Location: South Pacific
|
Posted: Thu Nov 25, 2004 6:09 pm Post subject: |
|
|
Haven't heard anything about the XML stuff for a while. I'll check on it though ... |
|
Back to top |
|
|
kris
Joined: 27 Mar 2004 Posts: 1494 Location: South Pacific
|
Posted: Sun Jan 02, 2005 10:14 pm Post subject: Re: Mango XML Status |
|
|
teqDruid wrote: | <snip> how does this new ICU stuff effect mango XML? I would imagine one would want the XML stuff to be somewhat coherent with the ICU stuff. |
ICU uses wchar internally: if that's good enough for IBM/Taligent/Sun then it's probably good enough for most of us too. If the XML stuff were based upon wchar also, it could certainly leverage the ICU converters and so on. Another consideration for converters is the stuff that Ben Hinkle had poked around with. I don't know what the outcome of that was, but certainly worth the effort of isolating the conversion steps via an Interface/Factory pattern.
In some respects, it would be better to have an XML parser based upon dchar ... however, the pros and cons are heavily biased by how much text and CDATA there is in the parsed content. This would probably be notably magnified by a DOM representation of such documents.
Ideally, the wchar/dchar data-type would be typedef'd and versioned (or templated, except it would be horrific to debug a templated parser ). Then, one could have their cake and eat it too! |
|
Back to top |
|
|
|