nickerso / csim

A reboot of CSim to try and better support SED-ML tools and OpenCMISS.
Apache License 2.0
0 stars 5 forks source link

Separate "convenience" methods #5

Open nickerso opened 7 years ago

nickerso commented 7 years ago

Currently the csim::Model provides a convenience method for serialising URL content to a string, used for resolving imports in CellML models and also as part of the C# wrapper code for the SED-ML Web Tools in csimsbw, and now also in get-simulator. It would be good to centralise these kinds of methods somewhere more relevant.

nickerso commented 7 years ago

The internal XmlDoc class might be a candidate for wrapping up these convenience methods. XmlDoc::buildAbsoluteUri is another method it would be useful to expose.