[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]
Subject: RE: [cgmo-webcgm] New draft snapshot
Hi Lofton,
here is what we discussed,
and what the DOM should reflect:
- Standard WebCGM objects are readonly (i.e. grobject etc)
This means that no new grobjects will be created, even if they are found in the companion file.
The purpose is to associate information with existing objects where possible.
- Standard WebCGM attributes are read/writeable (e.g. screentip)
obviously
- Namespaced attributes on standard WebCGM objects are read/writeable
see my explanation in last email
- Namespaced objects can be created using a companion file but not the DOM
- Namespaced attributes on namespaced objects are read/writeable
So "no new nodes" means that no new grobjects will be created if information is found in the companion file that does not relate to any existing object in the CGM file.
I guess this is what the intention was,
and again, the documents need to reflect this.
What is an example usage scenario? It would apparently be there for adding private (application metadata) attributes to private (application metadata) elements coming from XML Companion files. Why? In sec 1.1.b we say, "The WebCGM DOM could almost be perceived as a 'readonly' DOM. It is true that some methods on interfaces allow users to change an Application Structure style but, unlike the DOM Level 3 specification, it does not allow for removal or insertion of new Nodes into the object model." The changing of APS styles is a transient effect for (graphical) viewing and interaction feedback. The changes can't (apparently) be serialized into a changed WebCGM instance or changed XML Companion file -- this WDOM is not an authoring/editing facility. So ... I don't understand the use case for this.
Dieter
- -----Original Message-----
- From: Lofton Henderson [mailto:lofton@rockynet.com]
- Sent: Tuesday, August 10, 2004 8:05 PM
- To: dieter@itedo.com
- Cc: CGM Open WebCGM TC
- Subject: RE: [cgmo-webcgm] New draft snapshot
- Dieter,
- Okay, I understand your use case. I need to think about it to decide if I agree that it should be supported. (Maybe we should discuss in telecon.)
- Let me ask a related question. What about the "no new Nodes into the object model statement". Does this contradict that? Our am I thinking of "node" in the wrong sense, i.e., in the Xpath sense where an attribute is a node in the structure tree?
- Another question. If the use case is valid for adding an attribute to foreign elements (application metadata from XML companion file), then is the use case of adding new foreign elements also just as valid?
- (I haven't checked, actually, to see whether this is supported or not in the WDOM. But I don't remember it.)
- -Lofton.
- At 07:04 PM 8/10/2004 +0200, Dieter Weidenbrueck wrote:
- [...]
- 4.) Substantive:
- -----
- setAttributeNS: Why have this? You said (below),
- "- Added setAttributeNS(). We were able to set WebCGM attributes but
- not the non-WebCGM one."
[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]