Closed Bug 330557 Opened 15 years ago Closed 5 years ago

Submission fails to include all in-scope namespaces

Categories

(Core Graveyard :: XForms, defect)

defect
Not set
normal

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.
Attached file Testcase
"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 :)
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.
RIP xforms
Status: NEW → RESOLVED
Closed: 5 years ago
Resolution: --- → WONTFIX
Product: Core → Core Graveyard
You need to log in before you can comment on or make changes to this bug.