This is a static archive of the previous Open Grid Forum GridForge content management system saved from host forge.ogf.org file /sf/go/artf5209?nav=1 at Fri, 04 Nov 2022 18:55:53 GMT SourceForge : artf5209: (1332) Should we add referencing capabilities to the schema?

Project Home

Tracker

Documents

Tasks

Source Code

Discussions

File Releases

Wiki

Project Admin

JSDL calendar
Search Tracker
Project: JSDL-WG     Trackers > [READ ONLY] JSDL Feature Requests > View Artifact
Artifact artf5209 : (1332) Should we add referencing capabilities to the schema?
Tracker: [READ ONLY] JSDL Feature Requests
Title: (1332) Should we add referencing capabilities to the schema?
Description:
Igor proposed the addition of names to elements and then the ability to reference these in other places in the doc.

The group was undecided on this and we want to defer until we know what automatic tooling is available for this....
Submitted By: Stephen McGough
Submitted On: 03/15/2005 5:04 AM EST
Last Modified: 05/02/2007 9:45 AM EDT

Status / Comments Change Log Associations Attachments  
Status  
Group: *
Status:* Open
Category: *
Customer: *
Priority: * 2
Assigned To: * Donal Fellows
Reported in Release: *
Fixed in Release: *
Estimated Hours: * 0
Actual Hours: * 0
Comments
Donal Fellows: 05/02/2007 9:45 AM EDT
  Comment:
Oh, and ID is supported directly by DOM implementations, whereas XPath/XPointer are not (usually).
  Action: Update
Donal Fellows: 05/02/2007 9:44 AM EDT
  Comment:
I suppose we could always recommend that people use GUIDs for ID values, since they're unique in time and space. OTOH, they're also ridiculously long.
 :-)

The other thing to note is that anything that can be done with IDs can be done with XPath/XPointer. It might not be at all elegant though.
  Action: Update
Michel Drescher: 05/02/2007 8:29 AM EDT
  Comment:
I agree with Donal, that xsd:ID and xsd:IDREF are very useful data types.

However, it must be considered that xsd:IDs can lead to collisions when XML Documents containing xsd:IDs are composed with each other. For example, 
consider a hypothetical workflow document structure that consists of several JSDL document templates. The probability of xsd:ID collisions is fairly 
high, I presume.

We should carefully evaluate whether QNames as a naming and identification mechanism serves us much better.
  Action: Update
Donal Fellows: 05/02/2007 8:21 AM EDT
  Comment:
Actual definition (without XSD baggage) is:
<xsd:attribute name="id" type="xsd:ID"/>

This would then be referred to from elsewhere via:
<xsd:attribute ref="id"/>

(Assuming I remember my XSD hacking right.)
  Action: Update
Donal Fellows: 05/02/2007 8:20 AM EDT
  Comment:
Being able to support an id attribute on elements (which MUST be of type xsd:ID; name of attribute is less important) would be a strong bonus, and is 
a feature that is relatively well-supported by document-oriented tooling (but not so well with object mapping, which can't be helped) as well as being
 simple (but time-consuming; lots of identical changes) to do. I believe it should definitely be on our roadmap for the next version of JSDL that 
permits a schema change.

I'm not certain that doing this via an extension is a good approach; maximum utility is only attained if it also constrains extensions (that define 
new elements) to support the attribute.
  Action: Update
Priority changed from 0 to 2
Andreas Savva: 09/13/2006 2:52 PM EDT
  Action: Update
Assigned To set to Donal Fellows
Donal Fellows: 02/15/2006 10:49 AM EST
  Comment:
Comment from Dave Snelling: naming elements is *very* useful for signing things with XML-Signature
  Action: Update
Ali Anjomshoaa: 02/15/2006 10:12 AM EST
  Action: Update
summary changed from Should we add Refs and names to the schema to Should we add referencing capabilities to the schema?
Ali Anjomshoaa: 02/15/2006 10:11 AM EST
  Comment:
Require a normative element(s) for referencing outside dependencies such as WS-Agreement.

OR

JSDL template docs for multiple useage.
  Action: Update
Ali Anjomshoaa: 05/03/2005 11:39 AM EST
  Action: Update
assigned_to changed from 7964 to 100
group_artifact_id changed from JSDL version 1 to JSDL-post-v1
Stephen McGough: 03/15/2005 5:10 AM EST
  Comment:
This needs to be resolved for JSDL 1.0 as it has impact on the structure of the schema if we want to prevent the user from having a ref and contents.
  Action: Update
Stephen McGough: 03/15/2005 5:04 AM EST
  Action: Create


 
 
 
< Previous
 
 
Next >
 


The Open Grid Forum Contact Webmaster | Report a problem | GridForge Help
This is a static archive of the previous Open Grid Forum GridForge content management system saved from host forge.ogf.org file /sf/go/artf5209?nav=1 at Fri, 04 Nov 2022 18:55:58 GMT