-
Notifications
You must be signed in to change notification settings - Fork 6
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
Either as_emld
or as_xml
not handling docs with submodule at root
#54
Comments
Hey @cboettig it occurs to me that you might have intended this behavior. I see that calling |
@amoeba right, the serializing routines were never written to support generating things in the submodule namespaces alone ( |
Closing is fine. This sounds out of scope for emld.
|
Closing as I haven't seen any comments and I agree with @cboettig now that we've talked it out. |
Round-tripping EML (e.g.,
<eml:eml...
) docs works correctly but doesn't for documents with elements from submodules at their root (e.g.,<dataset:dataset...
). I think the reason this doesn't break the round-tripping tests is that they don't check to this fine a level of detail (same QName on root before and after).An example of the correct behavior, exhibited when round-tripping a document with
eml:eml
at the root:An example of the incorrect behavior with a
dat:dataset
element at the root:See how the root elements name changes? I think I what's going on and I think the patch for now is to bring some of my helpers from #53 over into
as_xml.emld
.The text was updated successfully, but these errors were encountered: