Update: Hello Saxon on .NET - An ASP.NET Introduction Code Refresh

by M. David Peterson

With the release of Saxon 8.7.1 comes the need for an updated demo. I am presently working on an extended demo that brings together the use of credentials, atom feeds as both config and page content source files, Microsoft's LiveClipboard and Amazon's S3. There are a few more finishing touches that need to be made, one of which requires testing against the new LiveClipboard codebase as soon as the new spec and sample code releases. When it does, and all test's have gone as expected (or my code base fixed if they haven't) I will create a new post with the code an annotated overview.

However, to help get you going here is a non-annotated code base that implements use of a direct .NET Stream and a couple of changes to setting the baseURI. Please see the original post in this series for more details.

I will create a new post with the above mentioned features as soon as its ready to go.

In the mean time, enjoy!

10 Comments

Steven Black
2006-04-14 09:10:52

Are you aware that those of us who read your blog in an aggregator such as FeedDemon see all the HTML markup? Makes it very hard to read, and hard to judge whether a particular post is worth leaving the aggregator for a closer look.

M. David Peterson
2006-04-14 14:39:30

Hi Steven,

Are you refering to the entire post, or the code markup? It seems obvious you mean all posts, all markup, but just want to clarify to be certain.

This is not something I personally control, so I will have to pass this on to to the O'Reilly folks and see what might be the issue. Which feed are you subscribed to: RSS or Atom?

Either way, thanks for letting me know! I can imagine how annoying that must be, so I will make sure to get on this ASAP.

No doubt a few ego's, including my own, tend to get struck back down to their appropriate size whenever calling upon the FV's services, but a world full of smaller ego's and high quality web feeds is obviously a good thing. :)

Thanks for looking into this Justin!

M. David Peterson
2006-04-20 16:56:46

Hey Steven,

In a recent response to a post I made to the Atom Syntax mailing list, James Holderness writes:

> I've just tested with an oldish beta of FeedDemon 2.0 and it looked good to
> me. It's possible he's using a really ancient version that doesn't have Atom
> 1.0 support. That might result in the content being interpreted as
> plaintext.

Could this be the cause of your problem?

Also, James Snell posted a response stating he would make a bug report, so if you already have, two doesn't hurt, and if you havent... well, I guess two still doesn't hurt, but James does have this covered.

Thanks again for the report!

M. David Peterson
2006-04-20 17:52:40

I mis-read James Snell's post; His intention was to suggest that I go ahead and make the report regardless of whether it was a known bug or not. As such, I've posted this issue to the forums > http://www.newsgator.com/forum/shwmessage.aspx?ForumID=8&MessageID=16932

M. David Peterson
2006-04-20 18:04:40

Justin,

It occured to me: Do we know whether or not this is a problem with the Atom feed, or is Steven subscribed to the RSS 2.0 feed? Unless this is a public response to a private email thread between you and Steven, it doesn't seem there's enough info here to determine this to be a problem with the Atom feed. Given the known issues with RSS 2.0 and the inability to properly determine if the intent is to provide HTML as markup or escaped markup (and in doing so still provide well formed XML via escaped markup or CDATA blocks with the contained content (same thing obviously)) it wouldn't surprise me to find out he was subscribed to the RSS 2.0 feed.

To All: To avoid this kind of problem in the future, given the wide-spread (if not complete) support for the official IETF-based Atom specification, I would simply subscribe to the Atom feed such that you can be confident that if problems like this appear in an application that claims support for the Atom specification they have something to turn to understand how to correct the problem without causing another bug with another implementation/interpretation of the unspec'd RSS 2.0 issue at hand in the process.

M. David Peterson
2006-04-21 19:40:09

Hey Steven,

Please see Gordon Weakliem's reply > http://www.newsgator.com/forum/shwmessage.aspx?ForumID=8&MessageID=16932 < in the NewsGator/FeedDemon forums. Unfortunately there's not a whole lot that can be done without more information.

Thanks!

2007-08-21 01:26:44

that code is waste

Dan
2008-05-07 20:40:55

No refresh

Sign up today to receive special discounts, product alerts, and news from O'Reilly.