This Bugzilla instance is deprecated, and most Eclipse projects now use GitHub or Eclipse GitLab. Please see the deprecation plan for details.
Bug 253753 - VEX Document Model doesn't support namespaces
Summary: VEX Document Model doesn't support namespaces
Status: CLOSED FIXED
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: Mylyn (show other bugs)
Version: unspecified   Edit
Hardware: All All
: P3 enhancement (vote)
Target Milestone: 1.0.0 M8   Edit
Assignee: Florian Thienel CLA
QA Contact: David Carver CLA
URL:
Whiteboard:
Keywords:
: 257804 (view as bug list)
Depends on:
Blocks: 250838
  Show dependency tree
 
Reported: 2008-11-04 13:01 EST by David Carver CLA
Modified: 2011-12-30 14:03 EST (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description David Carver CLA 2008-11-04 13:01:45 EST
Need to add namespace support to the VEX model.
Comment 1 David Carver CLA 2008-12-07 19:05:15 EST
*** Bug 257804 has been marked as a duplicate of this bug. ***
Comment 2 Florian Thienel CLA 2011-03-19 15:15:06 EDT
Just some implementation hints:
* the implementation MUST be conform with http://www.w3.org/TR/xml-names/
* attributes should be managed by an own class 'Attribute'
* 'Attribute' should have members for namespace URI, prefix and local name
* 'Element' should get new members for namespace URI, prefix and local name of the represented XML element
* 'Element' should also manage the namespace declarations wihtin its start tag
* the resolution of prefix/namespace URI mappings should be done through recursive method calls within the 'Element' object graph
Comment 3 Florian Thienel CLA 2011-03-19 16:42:46 EDT
More about handling the prefix/namespace URI mappings:
* 'DocumentBuilder' should implement 'startPrefixMapping' and put information about namespace declarations into the 'Element' they belong to.
* To resolve a prefix/namespace URI mapping, 'Element' should implement getPrefix(namespaceURI) and getNamespaceURI(prefix). If an 'Element' does not contain the corresponding namespace declaration itself, the method calls are forwarded to its parent 'Element'.
Comment 4 Florian Thienel CLA 2011-03-29 15:42:44 EDT
The connection between CSS and namespaces is specified here: http://www.w3.org/TR/css3-namespace/
Comment 5 Florian Thienel CLA 2011-04-29 16:58:59 EDT
A first draft is available on vex-dev. The DOM is now fully namespace aware. The whole namespace thing will first get interesting when the Schema support is also in place.
Comment 6 Florian Thienel CLA 2011-11-09 17:38:01 EST
Moved to Mylyn Docs Vex.
Comment 7 Florian Thienel CLA 2011-12-30 14:03:11 EST
Finally implemented the UI part.