OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

regrep message

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]


Subject: RE: [regrep] Issue-99: Need to version parent object without having toversion child objects


Farrukh,

<snip>A parent and its children are all separate 
RegistryObjects with their own unique lids so the lid cannot be shared 
on them. And since a child has a reference to its parent version, when a 
parent is versioned one cannot retain the existing children in the new 
version unless children are versioned as well (to reference new version 
of parent). The problem is caused by child to parent linkage being part 
of the child as opposed to external to the child (as is the case with an 
Asociation).</snip>

I think this is part of the problem - you have all this hard wiring in the registry - whereas - the versioning should overlay on top of the registry objects as a separate "soft" mechanism.

That way - you can include things into different versions without having to physically clone the parts - just reference them.  

The LIDs can still be unique and retain associative and version information - as in REF123456 on parent REF123456.001.01 on child, etc.

Then as I noted you can query on REF123456* to return all parent and child items, and associated versions.

Thanks, DW

-------- Original Message --------
Subject: Re: [regrep] Issue-99: Need to version parent object without
having to version child objects
From: Farrukh Najmi <farrukh@wellfleetsoftware.com>
Date: Tue, July 28, 2009 7:52 am
To: ebXML Regrep <regrep@lists.oasis-open.org>

Farrukh Najmi wrote:
> (Resend after fixing typo)
>
> Dear colleagues,
>
> Please discuss your thoughts on this issue and proposed resolution:
>
> <http://wxforge.wx.ll.mit.edu:8080/jira/browse/REGREPTC-99>
>
> This issue is one we need to think extra carefully due to its
> implications.
>
> Issue 100 <http://wxforge.wx.ll.mit.edu:8080/jira/browse/REGREPTC-100>
> is really a very old issue. It will get solved if we solve Issue 99!
>

David added the following to the issue:

"

I go back to LID again on this.

With a LID - you can subversion on that - so for example

original LID for content and children: REG-123456

then if something is versioned LID on that - REG-12345.01 etc

Therefore I can always query on the stub REG-123456* to retrieve all current members and sub-members.

This seems the best way to go - because then you can prune, delete, copy, move etc as needed.

And this is 100% backward compatible because no RIM changes.

"

I am not sure I understand. A parent and its children are all separate
RegistryObjects with their own unique lids so the lid cannot be shared
on them. And since a child has a reference to its parent version, when a
parent is versioned one cannot retain the existing children in the new
version unless children are versioned as well (to reference new version
of parent). The problem is caused by child to parent linkage being part
of the child as opposed to external to the child (as is the case with an
Asociation).

Please let me know if I misunderstand something.

BTW, it would be better for management of issues if we discuss them on
email thread for the issue before addinf a comment to the issue. Thanks.

--
Regards,
Farrukh

Web: http://www.wellfleetsoftware.com



---------------------------------------------------------------------
To unsubscribe from this mail list, you must leave the OASIS TC that
generates this mail. Follow this link to all your TCs in OASIS at:
https://www.oasis-open.org/apps/org/workgroup/portal/my_workgroups.php



[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]