History | Log In     View a printable version of the current page.  
Issue Details (XML | Word | Printable)

Key: AMATH-305
Type: Bug Bug
Status: Resolved Resolved
Resolution: Fixed
Priority: Major Major
Assignee: Paul Libbrecht
Reporter: Carsten Ullrich
Votes: 0
Watchers: 0
Operations

Link this issue to another issue
If you were logged in you would be able to see more operations.
ActiveMath

Creator role="aut" is not overwritten properly

Created: 2004-04-01 10:04   Updated: 2007-11-04 01:11
Component/s: MBase, MBase: SLuMB
Affects Version/s: 1.0a7
Fix Version/s: 1.0

Time Tracking:
Not Specified


 Description  « Hide
If I add the DC metadata creator of an OMDoc element, I would expect that it
overwrites the creator of the enclosing OMDoc. But this is not the case.
Example:
-----------------------------
<omdoc id="am_intro_texts_top">
<metadata>

<Creator role="aut"> George Goguadze </Creator>
<Source> </Source>
<Type> Text </Type>
<Format> application/omdoc+xml </Format>
</metadata>

<theory id="am_intro_th">

<omtext id="omdoc_glossary" type="annote">
<metadata>

<Creator role="aut">Carsten Ullrich</Creator>
</metadata>
...
-----------------------
I would expect that a click on the copyright button would show me as the
creator, but this is still George.
How to reproduce:
Book: Introduction to ActiveMath --> Learning OMDoc in 10 minutes
I tried it with Lucene.



 All   Comments   Work Log   Change History   Version Control   FishEye   Crucible   Related Builds      Sort Order: Ascending order - Click to sort in descending order
Paul Libbrecht - 2004-04-01 10:04
I wouldn't expect it to overwrite but to add...
What does the OMDoc spec say ?

Paul Libbrecht - 2004-08-06 15:08
Now, independent of the spec, it makes sense to inherit with union the creators as one expects further content in a document for be additions to existing content such as a translation...

The OMDoc specs doesn't say it so:

The metadata elements can be added to many of the OMDoc elements described in this chapter, including grouping elements that can contain others that contain metadata. To avoid duplication, OMDoc assumes a priority-union semantics of Dublin Core metadata. A Dublin Core element, e.g. Creator that is missing in in a lower metadata declaration is inherited from the upper ones. So in Figure 3.2, the two boxes are equivalent, since the metadata in theory th1 and in definition d1 is inherited from the main declaration in the top-level omdoc element. If there is a metadata element of the same name present, nothing is inherited.

but I insist it should be so.


Paul Libbrecht - 2004-08-06 22:08
So it seems I and Shahid will have to do this.
Namely, authors shouldn't added using inheritance, it should suppress it.

Paul Libbrecht - 2007-03-13 16:03
we should clear this for 1.0.
paul

Paul Libbrecht - 2007-11-04 01:11
fixed.
Date, creator-role-aut, title, and description are now non-cumulative.

I could try this with:
<yourAM>/main/copyright.cmd?id=mbase%3A%2F%2FActiveMath_Content_Examples%2Fbasic_texts%2Fproblem

paul