Actions
Support #5254
closedUnexpected Empty Namespace Entry with XSL-FO & Inline SVG
Status:
Closed
Priority:
Low
Assignee:
-
Category:
-
Sprint/Milestone:
-
Start date:
2022-01-30
Due date:
% Done:
0%
Estimated time:
Legacy ID:
Applies to branch:
10
Fix Committed on Branch:
Fixed in Maintenance Release:
Platforms:
Java
Description
Hi there,
I'm getting an unexpected empty Namespace Entry with XSL-FO & Inline SVG.
I'm using Saxon HE 10.6 with openJdk 17 on Windows 10, 64-bit. The Test Output is from Windows, but it happens on our SUSE Enterprise Linux 11.1 Server too. (only entry on the Classpath for this Test was Saxon HE)
Please see attached Program & Output.
Here's an extract from the attached Output. What bothers me is the xmlns=""
Attribute on the <g>
Element.
<fo:instream-foreign-object content-type="image/svg+xml" content-width="272.6mm">
<svg xmlns="http://www.w3.org/2000/svg" height="775" viewBox="0 0 1184 775" width="1184">
<g xmlns="" style="fill-opacity:0;stroke-width:7;stroke:red">
<rect height="99" width="254"/>
</g>
</svg>
</fo:instream-foreign-object>
Surely, the <g>
Element should inherit the Namespace from its <svg>
parent?
All the best, Dave
Files
Please register to edit this issue
Actions