Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Empty xmlns on Atom syndication feed sample #1

Open
hectorcorrea opened this issue Nov 17, 2011 · 0 comments
Open

Empty xmlns on Atom syndication feed sample #1

hectorcorrea opened this issue Nov 17, 2011 · 0 comments
Assignees

Comments

@hectorcorrea
Copy link

Running the code to build an Atom syndication feed gives the correct XML but the xmlns attribute is inserted with an empty value to all children of the feed element:

<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
  <title xmlns="">My Blog!</title>
  <subtitle xmlns="">Others have blogs too, but this one is mine</subtitle>
  <link href="http://example.org" xmlns="" />
  <link href="http://example.org/feed.xml" rel="self" xmlns="" />
  <author xmlns="">
    <name>John Doe</name>
    <email>johndoe@example.org</email>
  </author>
</feed>
@ghost ghost assigned mmonteleone Feb 11, 2012
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants