[Adium-devl] O'Reilly XML blog article: Parsing XML… backwards?
Joshual Lock
incandescant at gmail.com
Wed Mar 14 11:23:58 UTC 2007
Peter,
On 14 Mar 2007, at 06:48, Peter Hosey wrote:
> Found this in my referer logs:
>
> http://www.oreillynet.com/xml/blog/2007/03/parsing_xml_backwards.html
>
> It's an article about LMX and the various ways it's a Bad Idea.
> Some are better than others, but anyway, the article is definitely
> worth a read. Also, I have a comment in there.
Seems to me like the author objects to reverse XML parsers in
general, yet admits they have their place. I'd say that Adiums use
case for LMX is one of those places.
And, IMHO, where it makes sense for others to use an reverse XML
parser LMX will fit the bill nicely.
> The other downside is that we already have ULF and LMX; this would
> be yet another log format, whose main reason for existence would be
> the fact that LMX won't work 100% of the time with XML from the
> sort of people who name their elements “hello--”.
>
> I'm inclined to stay with ULF, but I wanted to bounce it off you guys.
I'd say stick with ULF. My impression was that the author didn't
really grok how LMX is being used within Adium
"Sixth problem: how do you append to the document in the first place
if the root element is already closed? And if you never close the
root element, then it’s not an XML file at all."
LMX is used to read previous chat logs. Adium doesn't append to a
chat log that LMX reads, right?
- J
Joshua Lock
-------------- next part --------------
A non-text attachment was scrubbed...
Name: PGP.sig
Type: application/pgp-signature
Size: 186 bytes
Desc: This is a digitally signed message part
URL: <http://adium.im/pipermail/devel_adium.im/attachments/20070314/ff490829/attachment.sig>
More information about the devel
mailing list