mv surfxml.dtd simgrid.dtd git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@5149 48e7efb5-ca39-0410-a469-dd3cf9ba447f
merging branch 5018:5083 into trunk git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@5084 48e7efb5-ca39-0410-a469-dd3cf9ba447f
Specify that only <platform> can be a root tag git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@5000 48e7efb5-ca39-0410-a469-dd3cf9ba447f
updating the dtd and some memory leacks git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@4943 48e7efb5-ca39-0410-a469-dd3cf9ba447f
relax ordering enforcement git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@4884 48e7efb5-ca39-0410-a469-dd3cf9ba447f
* Cleanup the DTD by renaming: <cpu> to <host> <network_link> to <link> <route_element> to <link:ctn> "name" attributes to "id" * Modify the DTD to add properties to <process>, <host> and <link> In the DTD, these are <prop name=... value=...> subtags, and this can be retrieved as a xbt_dict from the source code (see below) * Add the following functions to the user API to retrieve (as xbt_dict) the properties defined in XML: xbt_dict_t SD_link_get_properties(SD_link_t link); const char* SD_link_get_property_value(SD_link_t l,char* name); and, on the same model, SD_workstation_get_{properties,property_value}() MSG_process_get_{properties,property_value}() MSG_host_get_{properties,property_value}() gras_process_get_{properties,property_value}() gras_os_host_get_{properties,property_value}() * Modify the parser to work in one pass only. Some more work may be done so that surf does the parsing after the models have declared the callbacks. * Enforce the order in the DTD: routes must come after the last CPU, router and link git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@4876 48e7efb5-ca39-0410-a469-dd3cf9ba447f
Enforce some order on the tags; needs flexml 1.8 to get relevant error messages when the order is violated by the document git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@4815 48e7efb5-ca39-0410-a469-dd3cf9ba447f
Automatically cleaned flexml files. git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@4062 48e7efb5-ca39-0410-a469-dd3cf9ba447f
Adding a <route> tag. git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@3526 48e7efb5-ca39-0410-a469-dd3cf9ba447f
Generation with flex-1.5.3 git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@2644 48e7efb5-ca39-0410-a469-dd3cf9ba447f
Ask for version 1. Default is version 0. git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@2323 48e7efb5-ca39-0410-a469-dd3cf9ba447f
Adding a "version" tag to platform_description. This tag is used to issue a BIG FAT WARNING when people use old platforms with wrong units. git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@2319 48e7efb5-ca39-0410-a469-dd3cf9ba447f
regenerate with the lastest flexml -- and unfortunately with the not lastest flex, but it should help Henri anyway git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@2173 48e7efb5-ca39-0410-a469-dd3cf9ba447f
Make last version of flex (2.5.33-2) happy. git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@1969 48e7efb5-ca39-0410-a469-dd3cf9ba447f
Enable surfxml to live with an other xml parser in the same C code. Now dtd should be able to have common tags without running into troubles. git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@1965 48e7efb5-ca39-0410-a469-dd3cf9ba447f
enable surfxml to live with an other xml parser in the same C code git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@1959 48e7efb5-ca39-0410-a469-dd3cf9ba447f
regenerate the lexer git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@1656 48e7efb5-ca39-0410-a469-dd3cf9ba447f
extending the parser git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@1569 48e7efb5-ca39-0410-a469-dd3cf9ba447f
automatic updates git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@1386 48e7efb5-ca39-0410-a469-dd3cf9ba447f
default value of start_time = -1.0. It enables to make the difference between at time 0 and now (we may want to run MSG_launch_application many times at different dates...) git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@1365 48e7efb5-ca39-0410-a469-dd3cf9ba447f