RE: Accepting invalid input [was RSS 1.1]
"Jon Hanna" <jon-YK+g4hZFQDMeIZ0/[email protected]>
| Newsgroups | gmane.network.syndication.rss.devel |
|---|---|
| Message-ID | <[email protected]> |
> > I think it is reasonable to report an error and then, as
> part of that error,
> > an attempt to work around that error. I think this holds
> even in the case of
> > ill-formed XML (the spec says you must report an error, not
> how that error
> > must be reported).
>
> In that specific case of ill-formed XML I believe the spec'd behaviour
> is for the parser to stop dead in its tracks.
Stop dead in its tracks, and also report an error when the processing is
done in a context where reporting errors makes sense (e.g. an interactive
process such as a browser). So it can still produce an estimation of what
would have been produced if it was part of the error message.
Sure this is pretty much attempting to find a loophole, but as long as the
error message looks like an error message and smells like an error message I
think it keeps to the spirit as well as the word of the spec.
Regards,
Jon Hanna
Work: <http://www.selkieweb.com/>
Play: <http://www.hackcraft.net/>
Chat: <irc://irc.freenode.net/selkie>
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/rss-dev/
<*> To unsubscribe from this group, send an email to:
[email protected]
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/