is it possible to assume a default data format? #640
Replies: 2 comments
-
|
Hi @zhiqiangZHAO, currently this is not possible. Either you add the Namespace to the feed before parsing or try to use the Atom parser directly. Here's a detailed explanation how ROME parses feeds: https://rome.readthedocs.io/en/latest/rome-core/technical-docs/feed-parsing/ Regards, |
Beta Was this translation helpful? Give feedback.
0 replies
-
|
Thank you @PatrickGotthard
|
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi,
We are using Rome library to parse files from internet. Some file with only
<feed xmlns:g=“http://base.google.com/ns/1.0")>
They don't give us the NS for Atom.
We are pretty sure they are all use "http://www.w3.org/2005/Atom".
Now Rome will return error b/c no parse found.
Is it possible to let Rome choose a default one for feed?
Beta Was this translation helpful? Give feedback.
All reactions