Ability to specifiy a parser to use at runtime.

Create issue
Issue #144 closed
Former user created an issue

Automatic migration. Original reporter: "kokoro-sama"

Currently there is no way to tell the system to use a specific XMLParser other than the one that is loaded at runtime. A setXMLParser function should be added to the CEGUI System class to set the parser without having to destroy the loaded modules. Or the ability to pass a parser as an argument to a load file function. loadScheme("Name","Group",&Parser);

Reproducibility: always

Additional information: A similar function has been added to the SVN trunk that when calling the setDefaultXMLParserName function in the CEGUI::System class, provided you are not statically linking, will unload the current default module and reload the new one as the default.

Comments (2)

  1. Lukas Meindl

    Our plan should be to make CEGUI simpler, rather than offering run-time library loading for parsers we should instead rather integrate the parsers into CEGUI core since there are no benefits in having multiple parsers at once.

  2. Log in to comment