Closed jan-cerny closed 2 months ago
One big problem with this PR that I found is that now it doesn't show the direct child elements of local_variable
elements (eg. arithmetic
, time_difference
) and it jumps directly to grandchildren elements (eg. object_component
, literal_component
).
In the current main branch it is also not ideal but there is at least the tag name printed.
I think the name of the direct child element should be a special row in the "OVAL variable" table. It's also important to add their attributes because for example the arithmetic
element has the arithmetic operation in the arithmetic_operation
attribute.
LGTM, I reviewed the code changes and tested it on the latest Fedora.
One big problem with this PR that I found is that now it doesn't show the direct child elements of
local_variable
elements (eg.arithmetic
,time_difference
) and it jumps directly to grandchildren elements (eg.object_component
,literal_component
).In the current main branch it is also not ideal but there is at least the tag name printed.
I think the name of the direct child element should be a special row in the "OVAL variable" table. It's also important to add their attributes because for example the
arithmetic
element has the arithmetic operation in thearithmetic_operation
attribute.
this is solved in the 2 latest comments
I think that more visual improvements should be done in a separate PR to not increase the size of this PR.
Any suggestions are welcome. I would appreciate advice on the classes of the HTML elements. Feel free to come up with layout suggestions. I'm also interested in you experience in more complex OVAL tests. Please try it out and report back.