I plan to read in a reqif file with your parser and then edit it accordingly with additional information. The issue I came across is that the `ATTRIBUTE-DEFINITION-DATE' and its datatype conter parts are not defined, e.g;
|
if child.tag == ns + "DATATYPE-DEFINITION-DOCUMENT" or child.tag == ns + 'DATATYPE-DEFINITION-STRING' or child.tag == ns + 'DATATYPE-DEFINITION-XHTML'\ |
|
if attribute.tag == ns +"ATTRIBUTE-DEFINITION-COMPLEX" or attribute.tag == ns +"ATTRIBUTE-DEFINITION-STRING" or attribute.tag == ns +"ATTRIBUTE-DEFINITION-XHTML"\ |
Do you plan to integrate them? Or can you give me a hint where I need to work to integrate them?
I have tried to just adapt the if statements where the checks are conducted (see above) and have changed the dicts
|
mapReqifAttributeValue = {"default": "embeddedDoc", |
to include the DATE attributes and map them to a string? Maybe there is a better datatype in python, but for me it is not necessary, as I do not plan to edit the dates.
I plan to read in a
reqiffile with your parser and then edit it accordingly with additional information. The issue I came across is that the `ATTRIBUTE-DEFINITION-DATE' and its datatype conter parts are not defined, e.g;pyreqif/src/pyreqif/rif.py
Line 180 in ce9dd62
pyreqif/src/pyreqif/rif.py
Line 219 in ce9dd62
Do you plan to integrate them? Or can you give me a hint where I need to work to integrate them?
I have tried to just adapt the if statements where the checks are conducted (see above) and have changed the dicts
pyreqif/src/pyreqif/rif.py
Line 42 in ce9dd62
to include the DATE attributes and map them to a string? Maybe there is a better datatype in python, but for me it is not necessary, as I do not plan to edit the dates.