Skip to content

xml v4 parsing patches#264

Merged
heliosfa merged 14 commits intodevelopmentfrom
dt10-xml-v4-parsing-patches
Jun 28, 2021
Merged

xml v4 parsing patches#264
heliosfa merged 14 commits intodevelopmentfrom
dt10-xml-v4-parsing-patches

Conversation

@m8pple
Copy link
Copy Markdown
Contributor

@m8pple m8pple commented Jun 23, 2021

This is a re-packaging of the v4 parsing patches proposed last month, which
should merge straight onto the current development branch.

The main purpose is to just get the PIP20 v4 XML parsing and running.

It contains the test suite and reference XML I suggested
previously in #208, but I get the impression there is some reluctance to
have unit tests in the Orchestrator? So if having tests in the Orchestrator repo
is blocking merging, then just strip them out and take just the syntax patches.
I can just maintain my own orchestrator test-suite somewhere else (though I
still really don't understand how you develop and maintain something like
the Orchestrator without a good test suite).

m8pple added 10 commits June 12, 2021 11:28
Extracted from dt10_development to make it easier to merge back into
1.0.0-alpha to check on parsing progress.
- gals_heat used sin. Patched to approximation.
- relaxation_heat used exit. Patched to fake_handler_exit
- Skipping all tests involving externals.
- #201 Over-emphasis on CDATA
- #222 Spelling of metadata
- #220 Patches for indexed pins
- #204 : MessageType/Message element ignored
- #225 : surrounding braces for initialisers
m8pple added 4 commits June 25, 2021 11:43
- TODO patch filtering back in based on level
- TODO: explicitly set log level.
Graph was missing fanin property on finished
node, so never terminated.
Copy link
Copy Markdown
Contributor

@heliosfa heliosfa left a comment

Choose a reason for hiding this comment

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

All seems to work as expected. I note that this does not include and curly brace detection, so I have updated all of the examples for these changes (related PR: POETSII/Orchestrator_examples#11) and tested.

I have also updated the applications documentation and examples (POETSII/orchestrator-documentation#21) and tested.

I have not performed any timing tests. It should be noted that there may still be some Soton XML (I am thinking Third year projects) that has not been updated for these changes.

We should produce some documentation for the testing suite.

@mvousden
Copy link
Copy Markdown
Contributor

I have not performed any timing tests. It should be noted that there may still be some Soton XML (I am thinking Third year projects) that has not been updated for these changes.

I have emailed @kdalal2000 about this.

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.

3 participants