Skip to content
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

Remove common XML methods from xmldata.c #47

Closed
wants to merge 1 commit into from

Conversation

lucasmoura
Copy link
Contributor

@lucasmoura lucasmoura commented Jun 5, 2016

In order to allow AppStream data to handle different XML data, it is necessary
to remove some basic method from xmldata.c, such as parsing an XML document or
get the value of an XML node.

Although it is possible for any new XML parser to inherit from xmldata, this would not be a good approach, because the new class would inherit a lot of other methods related exclusively to parsing AppStream components, which is not ideal.

Therefore, this MR create an xml-utils file, which holds this common functions.

@ximion ximion force-pushed the master branch 8 times, most recently from 94fcca3 to 96f54e1 Compare June 6, 2016 13:40
@lucasmoura lucasmoura force-pushed the xml_utils branch 2 times, most recently from 5de2a01 to db60bfc Compare June 7, 2016 04:52
In order to allow AppStream data to handle different XML data, it is necessary
to remove some basic method from xmldata.c, such as parsing an XML document or
get the value of an XML node.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant