Submission fails to include all in-scope namespaces

RESOLVED WONTFIX

Status

Core Graveyard
XForms
RESOLVED WONTFIX
11 years ago
10 months ago

People

(Reporter: Allan Beaufour, Unassigned)

Tracking

Firefox Tracking Flags

(Not tracked)

Details

(URL)

Attachments

(1 attachment)

1.42 KB, application/xhtml+xml
Details
(Reporter)

Description

11 years ago
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

11 years ago
Created attachment 215118 [details]
Testcase

Comment 2

11 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

11 years ago
Assignee: aaronr → xforms

Comment 3

9 years ago
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.
RIP xforms
Status: NEW → RESOLVED
Last Resolved: a year ago
Resolution: --- → WONTFIX
Product: Core → Core Graveyard
You need to log in before you can comment on or make changes to this bug.