Skip to content
This repository was archived by the owner on Apr 25, 2025. It is now read-only.

Conversation

@bradleesand
Copy link

In media entities, the properties element is a sibling rather than a child of content. http://docs.oasis-open.org/odata/odata-atom-format/v4.0/cs02/odata-atom-format-v4.0-cs02.html#_Toc372792748

def self.process_properties(entity, xml_doc)
entity.instance_eval do
xml_doc.xpath('./content/properties/*').each do |property_xml|
xml_doc.xpath('./content/properties/*', './content/properties/*').each do |property_xml|
Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lol oops. That was supposed to be ./properties

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants