Skip to content

Empty xmlns on Atom syndication feed sample #1

@hectorcorrea

Description

@hectorcorrea

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>

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions