[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Resources for AtomPub parser validation




Thanks again everybody. It sounds like my XML parser is "doing the right thing" (and why wouldn't it, it's libxml2), and to the extent that there is confusion to be sorted out, it's in the "post extraction" phase of my app.

On Jun 30, 2008, at 5:31 PM, Tim Bray wrote:

You're into judgment-call territory. The actual URL in that link is "foo?bar=1&baz=2". No room for argument there. In an ideal world, that's what the user would type and that's what the user would see. Of course, in an XML document, it's going to be encoded as "foo? bar=1&baz=2" because "&" is a magic character in XML. In a traditional bad-HTML-on-the-web doc, of which there are billions, you'd quite likely just write it as

Indeed. I'm convinced by this thread that the best thing for me to do is to find a trusted server and do some round-trip tests to satisfy my expectations about how things should be handled.

And I'll take another look at that Text Constructs section of the RFC you suggested.

Thanks again!
Daniel