We help IT Professionals succeed at work.

Check out our new AWS podcast with Certified Expert, Phil Phillips! Listen to "How to Execute a Seamless AWS Migration" on EE or on your favorite podcast platform. Listen Now

x

XML failing validation

duder78
duder78 asked
on
Medium Priority
333 Views
Last Modified: 2012-05-11
Hey there,

I'm making an RSS feed and it's failing validation.  The error i'm getting is 'Undefined root element: channel '.  The way I understand XML is that there is always a root element.  Why am I getting this error if that's the case?  

I also read up on namespaces but it seems like overkill...I shouldn't have to use them right?


Here's what my XML file looks like :

<?xml version="1.0" encoding="utf-8"?>
<channel>
  <title>Newly Added Content</title>
  <link>http://insert_link_here</link>
  <description>Newly Added Portfolio Content</description>
  <item>
    <title>Glen and Heidi Wedding Video</title>
    <link>http://insert_link_here</link>
    <description><![CDATA[This is a short wedding intro I made for my sisters wedding.  I used After Effects to create comps and did the final edits in Adobe Premiere.  Photoshop(most graphics), Flash(closing credits sunset) and Illustrator(vines and flowers) were also used for asset creation.]]></description>
  </item>
  <item>
    <title>Omega Homes Promotional Video</title>
    <link>http://insert_link_here</link>
    <description><![CDATA[A promotional video I created for Omega Homes.  I used Adobe Premiere to arrange photos, scrolling text and the Protos watermark.  I also used Adobe Flash for the opening credits.]]></description>
  </item>
  <item>
    <title>Random XML scrolling content</title>
    <link>http://insert_link_here</link>
    <description><![CDATA[A demo project demonstrating random scrolling content using XML data.  A fictitious soccer team was the focus of the data.  The same item being displayed is never repeated in the animation.]]></description>
  </item>
</channel>

Open in new window


Help, please!
Comment
Watch Question

Information Architect
CERTIFIED EXPERT
Top Expert 2006
Commented:
Unlock this solution and get a sample of our free trial.
(No credit card required)
UNLOCK SOLUTION

Author

Commented:
That did the trick, thank you.
Gertone (Geert Bormans)Information Architect
CERTIFIED EXPERT
Top Expert 2006

Commented:
welcome
Unlock the solution to this question.
Thanks for using Experts Exchange.

Please provide your email to receive a sample view!

*This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

OR

Please enter a first name

Please enter a last name

8+ characters (letters, numbers, and a symbol)

By clicking, you agree to the Terms of Use and Privacy Policy.