-
Notifications
You must be signed in to change notification settings - Fork 80
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
Parsing only the XML output (of PW) #353
Comments
@mbercx I think it is time to bite the bullet on this one. If the comment above is correct and all versions of QE v6.2 and above will always have the XML with the schema file, and the latest version of |
Possibly, but we have to check if all of the information parsed from the An exercise I still wanted to do is make a list of outputs that are still parsed from the stdout, and see which we can parse from the XML instead. Then we can also request that these outputs are also added to the XML from the QE folks. EDIT: When making such a list, we should also add the QE version that the XML output was added, to make sure we maintain compatibility as promised. I think it only makes sense to add XML parsing in case:
|
Just FYI, I have been working on this already and almost have something ready. Will open a PR soon and then we can discuss online. But have some other pressing stuff that I need to deal with first now. |
This issue is open-ended and meant for tracking our discussion on the topic.
Now we parse both XML and textual output of PW, and then we merge the two sources of information. Textual output, being less structured, is harder to parse and to validate, so we would like to only use the XML output. However, removing the ability to parse text creates a backwards-incompatibility problem, because:
--enable-xml
or compiled-D__XSD
), otherwise they use the old XML format;One approach could be to start ignoring the text output from a certain version of QE onwards, and keep the rest of the code for backwards compatibility. After some time, old versions of QE can be deprecated and the text-parsing code removed completely.
One concern to keep in mind is our desire to keep consistent the results of the parser between different versions of the plugin; this may further constrain our choices.
The text was updated successfully, but these errors were encountered: