Closed
Bug 330557
Opened 19 years ago
Closed 10 years ago
Submission fails to include all in-scope namespaces
Categories
(Core Graveyard :: XForms, defect)
Core Graveyard
XForms
Tracking
(Not tracked)
RESOLVED
WONTFIX
People
(Reporter: allan, Unassigned)
References
()
Details
Attachments
(1 file)
1.42 KB,
application/xhtml+xml
|
Details |
Submission only takes namespaces from specific elements: instance, model and main document node. So any namespaces declared in between are not included.
It must be possible to ask the document for all namespaces visible at a certain node instead of the specific copying we are doing now.
Reporter | ||
Comment 1•19 years ago
|
||
Comment 2•19 years ago
|
||
"It must be possible to ask the document for all namespaces visible at a certain
node instead of the specific copying we are doing now."
When I wrote the code, I couldn't figure out how to do that. smaug might know more :)
Reporter | ||
Updated•19 years ago
|
Assignee: aaronr → xforms
It seems that transformiix does not keep namespaces declarations done at root level, it only dumps namespaces which will be actually used in the resulting XML.
That is a problem when trying to transform schemas, as namespaces which are declared sometimes refer to element declarations like <xsd:element name="foo:bar"/>.
The namespace foo is not used in the markups of the schemas, but it has to be kept in the resulting XML.
As far as I know, the attachment does not even describe the actual behaviour. Other XSLT processors keep the namespaces declared at root level.
Comment 4•10 years ago
|
||
RIP xforms
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → WONTFIX
Updated•9 years ago
|
Product: Core → Core Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•