Oh yeah, fully aware of the potential issues.

- James

James Holderness wrote:


I've only been half following the discussions here, so please forgive me if I'm misinterpreting what you're doing, but it looks to me like you intend to use XML processing instructions (PIs) for your control elements. Yes?

If that is the case, you should be aware that PIs aren't structured like XML elements - they're completely freeform. This means that anyone writing an Atom server will most likely not be able to make use of an XML parser to parse the attributes associated with those elements. All that parsing will need to be done manually (or so I would expect).

Of course the benefits of using PIs may outweigh the expense of the extra processing. I don't know. I just thought you should be aware of the possible implications in case you weren't already.

Regards
James

James M Snell wrote:

<?xml version="1.0" ?>
<?pub-control draft="yes" significant="yes" ?>
<?blog-control private="yes" scheduled="2005-12-12T12:00:00Z" ?>
<?blog-enable feature="http://example.com/blog/feature/comments-moderated"; ?> <?blog-enable feature="http://example.com/blog/feature/comments-remote"; ?> <?blog-enable feature="http://example.com/blog/feature/convert-line-breaks"; ?> <?blog-enable feature="http://example.com/blog/feature/send-comment-notification"; ?>
<?blog-notify type="http://www.movabletype.org/trackback/";
                    endpoint="http://example.com/trackback"; ?>
<?blog-notify type="http://www.technorati.com/developers/ping/";
                    endpoint="http://www.technorati.com/ping/"; ?>
<entry xmlns="http://www.w3.org/2005/Atom";>
 <id>...</id>
 <title>...</title>
 ...
</entry>




Reply via email to