[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: A request for some help with ambigious error messagesand x


is ambigious
Liam Quin wrote:

>On Fri, Dec 23, 2005 at 04:06:53PM -0800, thewade wrote:
>  
>
>>I am trying to make an RSS feed with a couple of additional tags and 
>>additional namespaces as allowed by the  document.
>>    
>>
>
>Your DTD does not allow the xmlns:aprox attribute -- delcare it
>as CDATA #IMPLIED on the channel element, and similarly for the
>xmlns:html attribute.
>  
>
I thought this was inherent to XML though, like how we don't need a 
namespace for the < and > characters... Oh well, I made the change but 
it seems like a kludge too me.

>However, in practice with RSS, you can't put markup inside the
>description element -- instead, you need to escape it, e.g. with
>a CDATA section or with numeric character references or entities --
>instead of <html:a href="xxxx"> use &lt;a href="xxx"&gt;
>  
>
Who comes up with the rules for RSS?

>Yes, this is sucky almost beyond belief.
>  
>
Hear hear!
So if I have a large piece of text I was syndicating it just needs to 
all run together into some large run-on paragraph? Sounds like a bad 
idea to me, and that is why I am going to keep using markup in my 
descriptions. Thunderbird's RSS reader likes my markup, though not my 
javascript.

Thanks for the verification! I tried that and the validator passed that 
point (http://feedvalidator.org) but it didnt look right.

Also, I have been using an items attribute in the channel tag that holds 
the count of all the items in a channel (or in a specific search) for 
use in a javascript frontend I am writing. Of course the validator 
doesnt like this either. I have yet to test it out on Thunderbird...

Thanks again!
-thewade

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
 

Stylus Studio has published XML-DEV in RSS and ATOM formats, enabling users to easily subcribe to the list from their preferred news reader application.


Stylus Studio Sponsored Links are added links designed to provide related and additional information to the visitors of this website. they were not included by the author in the initial post. To view the content without the Sponsor Links please click here.

Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.