-
Notifications
You must be signed in to change notification settings - Fork 12
Open
Description
reqflow relies on libxml2, which is pretty intolerant regarding SVG inside HTML.
Consider the following simple HTML file:
<!DOCTYPE html>
<html><head><title>hi</title></head>
<body>
<svg width="400" height="200">
<circle cx="150" cy="100" r="50" />
</svg>
</body>
</html>Using the following req:
document t -path t.html -req plop(.*)
This gives:
$ reqflow trac -c t.req
./t.html:4: HTML parser error : Tag svg invalid
<svg width="400" height="200">
^
./t.html:5: HTML parser error : Tag circle invalid
<circle cx="150" cy="100" r="50" />
^
Requirements of t Requirements Downstream
--------------------------------------------------------------------------------------------------------------------
$
This seems to be linked to a limitation of libxml2 which doesn't parse the SVG tags correctly, but is this something that could be worked around in reqflow?
Metadata
Metadata
Assignees
Labels
No labels