• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
0

RSS file not validating using CFML and MySQL to build it

New Here ,
Mar 01, 2008 Mar 01, 2008

Copy link to clipboard

Copied

Is this due to whitespace above the <xml> doctype? I Have the firefox developer toolbar and am used to vlidating my xhtml 1.0 pages. i tried validating this xml file and it fails, saying no doctype found. but there is one! It is not on line one but there is nothing but whitespace before it (due to the cfml code preceding it). any ideas if this is why my Mac's mail.app RSS reader won't parse it?

thanks,
Brian
TOPICS
Advanced techniques

Views

205

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
Mar 01, 2008 Mar 01, 2008

Copy link to clipboard

Copied

LATEST
Yes the <?xml version="1.0" encoding="UTF-8"?> needs to be on the top line
with no whitespace above it.

--
Ken Ford
Adobe Community Expert - Dreamweaver
Fordwebs, LLC
http://www.fordwebs.com


"brianthedrummer" <webforumsuser@macromedia.com> wrote in message
news:fqb2ln$897$1@forums.macromedia.com...
> Is this due to whitespace above the <xml> doctype? I Have the firefox
> developer
> toolbar and am used to vlidating my xhtml 1.0 pages. i tried validating
> this
> xml file and it fails, saying no doctype found. but there is one! It is
> not on
> line one but there is nothing but whitespace before it (due to the cfml
> code
> preceding it). any ideas if this is why my Mac's mail.app RSS reader won't
> parse it?
>
> thanks,
> Brian
>
> <?xml version="1.0" encoding="UTF-8"?>
>
> <rss version="2.0">
>
> <channel>
>
> <title>Events @ French Library Alliance Fran??aise of
> Boston</title>
>
> <link> http://www.frenchlib.org</link>
>
> <description>Upcoming events happening at the French Library
> Alliance
> Fran??aise of Boston</description>
>
> <language>en-us</language>
>
> <copyright>Copyright 2008 French Library Alliance Fran??aise of
> Boston</copyright>
>
> <docs> http://bfc8.starwebmanagement.com/meta/</docs>
>
> <lastBuildDate>Sat, 01 Mar 2008 00:59:36 ET</lastBuildDate>
>
>
>
>
>
> <item>
>
> <title>Apr 11, 2008 at 11:00 PM:
>
>
>
>
> Test conversation</title>
>
> <description>
>
>
>
>
> test this<br />
>
> Location: boston ma<br />
>
> See description for pricing details.
>
> <br />
>
> 11:00 PM&#151;12:00 PM
>
> </description>
> <category>Conversation</category> <link> http://www.bostonfrenchcenter.org/
> events/event.cfm?id=659&#38;eventcategory=13</link>
>
> <pubDate>Wed, 23 Jan 2008 01:30:58 EST</pubDate>
>
> </item>
>
>
>
>
>
> <item>
>
> <title>May 11, 2008 at 11:00 PM:
>
>
>
>
> Test conversation 2</title>
>
> <description>
>
>
>
>
> test this<br />
>
> Location: boston ma<br />
>
> See description for pricing details.
>
> <br />
>
> 11:00 PM&#151;12:00 PM
>
> </description>
> <category>Conversation</category> <link> http://www.bostonfrenchcenter.org/
> events/event.cfm?id=660&#38;eventcategory=13</link>
>
> <pubDate>Wed, 23 Jan 2008 01:32:30 EST</pubDate>
>
> </item>
>
>
>
> </channel>
>
> </rss>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
> <?xml version="1.0" encoding="UTF-8"?>
>
> <rss version="2.0">
>
> <channel>
>
> <title>Events @ French Library Alliance Fran??aise of
> Boston</title>
>
> <link> http://www.frenchlib.org</link>
>
> <description>Upcoming events happening at the French Library
> Alliance
> Fran??aise of Boston</description>
>
> <language>en-us</language>
>
> <copyright>Copyright 2008 French Library Alliance Fran??aise of
> Boston</copyright>
>
> <docs> http://bfc8.starwebmanagement.com/meta/</docs>
>
> <lastBuildDate>Sat, 01 Mar 2008 00:59:36 ET</lastBuildDate>
>
>
>
>
>
> <item>
>
> <title>Apr 11, 2008 at 11:00 PM:
>
>
>
>
> Test conversation</title>
>
> <description>
>
>
>
>
> test this<br />
>
> Location: boston ma<br />
>
> See description for pricing details.
>
> <br />
>
> 11:00 PM&#151;12:00 PM
>
> </description>
> <category>Conversation</category> <link> http://www.bostonfrenchcenter.org/
> events/event.cfm?id=659&#38;eventcategory=13</link>
>
> <pubDate>Wed, 23 Jan 2008 01:30:58 EST</pubDate>
>
> </item>
>
>
>
>
>
> <item>
>
> <title>May 11, 2008 at 11:00 PM:
>
>
>
>
> Test conversation 2</title>
>
> <description>
>
>
>
>
> test this<br />
>
> Location: boston ma<br />
>
> See description for pricing details.
>
> <br />
>
> 11:00 PM&#151;12:00 PM
>
> </description>
> <category>Conversation</category> <link> http://www.bostonfrenchcenter.org/
> events/event.cfm?id=660&#38;eventcategory=13</link>
>
> <pubDate>Wed, 23 Jan 2008 01:32:30 EST</pubDate>
>
> </item>
>
>
>
> </channel>
>
> </rss>
>

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Resources
Documentation