This repository has been archived by the owner on Aug 5, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 48
Simplify Xml handling #110
Open
clero
wants to merge
8
commits into
intel:next
Choose a base branch
from
clero:remove_manual_xml_include
base: next
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Commits on Jun 18, 2015
-
Remove SubsystemInclude xml tag
SubsystemInclude is correspond to an XInclude. This patch removes this tag handling and replaces it by the standard xml inclusion tag. Signed-off-by: Jules Clero <julesx.clero@intel.com>
Configuration menu - View commit details
-
Copy full SHA for 3c4ccf8 - Browse repository at this point
Copy the full SHA 3c4ccf8View commit details -
Remove dead code concerning xml folder retrieving
Latest patch removes SubsystemInclude tag support. It leads to some dead code. This patch removes code which was providing the Folder of the xml file to include which is now dead. Signed-off-by: Jules Clero <julesx.clero@intel.com>
Configuration menu - View commit details
-
Copy full SHA for 3885b6c - Browse repository at this point
Copy the full SHA 3885b6cView commit details
Commits on Jun 19, 2015
-
xmlserializer: Enhance error message when parsing a file
Signed-off-by: Jules Clero <julesx.clero@intel.com>
Configuration menu - View commit details
-
Copy full SHA for a1062c9 - Browse repository at this point
Copy the full SHA a1062c9View commit details -
xmlserializer: Rework getAttribute API
getAttribute API forces the user to call a specific API for each call getAttributeString etc.. This patch replaces this API by a template one. The success of of the action can now be checked. It can be useful one to check that a conversion succeed. Signed-off-by: Jules Clero <julesx.clero@intel.com>
Configuration menu - View commit details
-
Copy full SHA for fba813f - Browse repository at this point
Copy the full SHA fba813fView commit details -
xmlserializer: validate an exported XML file
XML exportation does not validate generated file even if a schema is provided. This patch enables the validation of the file at the end of the export. Moreover, the generated XML is checked against its schema if one is provided. Signed-off-by: Jules Clero <julesx.clero@intel.com>
Configuration menu - View commit details
-
Copy full SHA for eae1bd9 - Browse repository at this point
Copy the full SHA eae1bd9View commit details -
xmlserializer: Introduce Xml binding powered serializer
Current serialization implementation require to map the design to the desired xml files. Thus, xml can't be easily removed and the code is hard to test. This patch introduces a serializer, based on the current xmlSerializer library. This serializer uses an Xml bindings structure which describe the mapping of the data holder to the desired xml files. Signed-off-by: Jules Clero <julesx.clero@intel.com>
Configuration menu - View commit details
-
Copy full SHA for bd950bb - Browse repository at this point
Copy the full SHA bd950bbView commit details -
Rework configuration class to avoid complicate behavior
Current configuration design is mapping classes on xml node. It leads to some empty classes which contains a node information. It also leads to inconsistent information retrieval method. Some can be retrieved through simple getters and some others are retrieved through child mechanism inherited from Element. This patch introduces a real configuration object which is a simple struct. Information retrieval is handled through xml bindings. Signed-off-by: Jules Clero <julesx.clero@intel.com>
Configuration menu - View commit details
-
Copy full SHA for 3a39ef3 - Browse repository at this point
Copy the full SHA 3a39ef3View commit details -
xmlserializer: Remove isParsable dead method
isParsable is never used and the check made through it can easily be replaced by testing the return value of getDoc against NULL. Signed-off-by: Jules Clero <julesx.clero@intel.com>
Configuration menu - View commit details
-
Copy full SHA for 5390087 - Browse repository at this point
Copy the full SHA 5390087View commit details
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.