Feeds error: Content does not follow the DTD

Summary: When you submit a XML document that does not conform to feeds DTD, the Content Sources > Feeds (see 7.0 to 7.2 Admin Console mapping for prior page location) page in the Admin Console displays an error (depends on the XML file you submit):

Skipping the rest of the feed, Line number: 3, Error: Element gsafeed content does not follow the DTD, expecting (header , group+), got (lister group )

Troubleshooting Steps: Use the standard GSA feed Document Type Definition (DTD) file available from your GSA at http://<APPLIANCE-HOSTNAME>/gsafeed.dtd.

Once you obtain the DTD file you can run a XML validator tool against your XML file. One such tool is xmllint:

$ xmllint --noout --dtdvalid gsafeed.dtd <path_to_the_feed_file>

Was this helpful?
How can we improve it?