OASIS LegalDocumentML (LegalDocML) TC

 View Only
  • 1.  URGENT: Summary of Naming Convention - D3

    Posted 11-12-2015 07:57
    Dear all, thanks for the yesterday TC meeting. I would like to summarize the decision taken and to consolidate the pending issues in order to close the D3 remotely before the next TC meeting scheduled Nov. 25th. We agree on this syntax where (see the Adobe Connect minutes below): WORK /akn/eu/act/2015/123~art_12 - simple situation /akn/eu/act/2015/123!main/~art_12 - main is optional /akn/eu/act/2015/123!main/annex_1/annex_5~art_12 - complex situation EXPRESSION /akn/eu/act/2015/123/fr@2015~art_12 - simple situation /akn/eu/act/2015/123/fr@2015!main/~art_12 - main is optional /akn/eu/act/2015/123/fr@2015!main/annex_1/annex_5~art_12 - complex situation with components /akn/eu/act/2015/123/fr@2015/eupub!main/annex_1/annex_5~art_12 - complex situation with components and optional metadata of the expression (eupub) MANIFESTATION /akn/eu/act/2015/123/fr@2015~art_12.xml - simple situation /akn/eu/act/2015/123/fr@2015!main/~art_12.xml - main is optional /akn/eu/act/2015/123/fr@2015!main/annex_1/annex_5~art_12.xml - complex situation with components /akn/eu/act/2015/123/fr@2015/eupub!main/annex_1/annex_5~art_12.xml- complex situation with components and optional metadata of the expression (eupub) PENDING ISSUES sub-fragments: Veronique proposal: /akn/eu/act/2015/123/fr@2015/eupub!main/annex_1/annex_5~art_12/para_23/list_2/point_9 Other proposal: /akn/eu/act/2015/123/fr@2015/eupub!main/annex_1/annex_5~art_12__para_23__list_2__point_9 Take also in consideration the fragment after the format: a) /akn/eu/act/2015/123/fr@2015/eupub!main/annex_1/annex_5~art_12/para_23/list_2/point_9#art_12__para_23__list_2__point_9 or b) /akn/eu/act/2015/123/fr@2015/eupub!main/annex_1/annex_5~art_12__para_23__list_2__point_9.xml#art_12__para_23__list_2__point_9 Please start the discussion in mailing list because I want to close all the deliverable within the year 2015 and the correspondent short-public-review. It is urgent and necessary for the success of the standard. Yours, Monica -------------- The Minutes of yesterday from Adobe Connect: 11th Nov. 2015 Monica Palmirani:hi Grant Grant Vergottini:Hi Monica Monica Palmirani: https://www.oasis-open.org/apps/org/workgroup/legaldocml/event.php?event_id=41129 parisse:hello Monica Palmirani:hello Monica Palmirani:Hello Fabio Fabio Vitali:ciao Fabio Vitali:As soon as Sylvia ecords her attendance, we have quorum Fabio Vitali:so we can start MonicaPalmirani:/akn/eu/act/2015/123/fr@/eupub~$/art_12.akn#art_12 (Art. 12 of this component) Fabio Vitali:yes Grant Vergottini:yes parisse:yes Monica Palmirani:- /akn/eu/act/2015/123/fr@/eupub!$~art_12.akn#art_12 (Art. 12 of this component) parisse:but not the doc Monica Palmirani:- /akn/eu/act/2015/123/fr@/eupub~Annex_3/Annex_1/art_12.akn#art_12 (Art. 12 of component Annex 1 of Annex 3) Monica Palmirani:- /akn/eu/act/2015/123/fr@/eupub!Annex_3/Annex_1~art_12.akn#art_12 (Art. 12 of component Annex 1 of Annex 3) Grant Vergottini:I prefer the first MonicaPalmirani:/akn/eu/act/2015/123/fr@/eupub~Annex_3/Annex_1/art_12.akn#art_12 Grant Vergottini:yes Grant Vergottini:yes parisse:[ http://www.authority.org]/akn/sl/act/2004-02-13/2~art_3 with the same syntax as for the # [ http://www.authority.org]/akn/sl/act/2004-02-13/2#art_3 Fabio Vitali:No Veronique, it is NOT the same syntax. parisse:why and how the user know that ? Fabio Vitali:For one, the # goes always at the end of the string, while the ~something comes before the format Fabio Vitali:Second: the ~ is part of the request, the # is not part of the request, Fabio Vitali:you can put BOTH parisse:this is what I want to change : the ~is also always at the end Fabio Vitali:Please no. The format is at the end parisse:not for me parisse:the format is at the same position as for the # parisse:why to change ? parisse:the only difference is that all the "string" is sent to the server Grant Vergottini:I'm sorry if I'm coming into this late, but the # part is not part of the request - and it stripped away before it gets there. We can't change that. What's left should end in the format. Grant Vergottini:What's the issue? It seems that a lot of it is decided by standards that come before us parisse:yes, Grant, it is the reason I propose to replace the # by the ~when you want that all the "string" is sent to the server Monica Palmirani:The parser is not able to distinguish univocally the optional part of the expression to the components parisse:I dont understant this parisse:Which example ? Grant Vergottini:In my existing implementation, I do {doc}{@expressionpart}/{fragmentPath}.{format}#{id}. The only difference I can see from Fabio's proposal is that I use / instead of ~ Monica Palmirani:! Fabio Vitali:Veronique, in the mail I gave also a brief specification of the algorithm necessary to extract the fragment id part from the URI. It is literally three lines long. parisse:I propose also something for annex of annex. And also, I thing that the ! is also free. Last, I don't understand why the format is sometimes at the end and sometimes not. Fabio Vitali:It is ALWAYS at the end of the request. Fabio Vitali:as with any decent-looking URI parisse:so #art+*.doc ? Grant Vergottini:The format is always at the end in my case. The part starting with # is not part of the request parisse:srry #art_12.doc ? Fabio Vitali:#art is NOT part of the request Fabio Vitali:this is the URI syntax not me parisse:I don't understand the difference : it is a way to specify a portion/fragment of text parisse:the only thing is that it is impossible to sent to the server something after the # but it is all. Fabio Vitali:Veronique: there is a designed structure of the URI, that we are keeping consistent: AKN URIs look like normal URIs as much as possible, are organized in parts, and these parts make sense. Fabio Vitali:The first part is the WORK Fabio Vitali:The secodn PART is the expression parisse:For a user given a reference, there is no need to make a difference between the two structure, there is no need to put the format at the end sometimes and sometimes not Fabio Vitali:The third part is manifestation (minus, for tradition, the format) Fabio Vitali:The FOURTH part is the internal specification Fabio Vitali:The fifth part ìs the format parisse:not minus that the question Monica Palmirani:The internal specification can be used also with WORK and EXPRESSION parisse:and the last part is the fragment/portion part with a special character before (~or ! ) Grant Vergottini:I've never seen a URL that specified a format anywhere but at the end Monica Palmirani:right Grant and so .xml#art_12 Monica Palmirani:this is the URL syntax parisse:when you have the # how does it works ? parisse:the format is before the #, not after Grant Vergottini:The # is stripped away by the browser before the request is transmitted parisse:I only want to use the same syntax, replacing the # by another character so that the server receive everything Monica Palmirani:it doesn't work veronique Monica Palmirani:for all the situations that we have Grant Vergottini:If you just replace the # with a ~, you get a weird URL that isn't conventional Monica Palmirani:right Monica Palmirani:Veronique Grant Vergottini:For some of my customers, they break the document up into a lot of small files, on for each section -- and then save the result in the file system It's easier to support that methodology using {docPath}{expressionPart}/{fragmentPath}.{format} Grant Vergottini:one for each section Grant Vergottini:That's why I use / instead of ~, but I'm not insistent on that Monica Palmirani:please start with WORK Monica Palmirani:/akn/eu/act/2015/123~main/art_12 Grant Vergottini:With my methodology, I can implement a document broken into pieces using the file system and no resolver -- just a normal web server parisse:ok, but do you agree on the ~for separate the fragment/portion part from the IRI work expression manifestation minus format ? parisse:That is very important for me Monica Palmirani:you are not able to redirect all the languages and all the versions useful for an interval of time Grant if you use only the file system Grant Vergottini:I'm happy to use the ~ instead of the / parisse:I can write ~main__art_12 Monica Palmirani:~main/art_12 Grant Vergottini:I understand that Monica, but not all customers require that parisse:if main is a prefix like art Grant Vergottini:Some customers need something really simple Monica Palmirani:We need to serve all parisse:no I think that you can do it using the same prefix_number (in the case of main, no number is needed) Grant Vergottini:My methodology is as Fabio proposes, except for the ~, but I'm happy to accept the ~ Fabio Vitali:I believe that "main" should be optional. ~main/art_12 and ~art_12 should mean exactly the same thing parisse:so ~main__art_1__para_1 Grant Vergottini:Yes, absolutely. For me it would be ~main/sec_12 == ~sec_12 parisse:@grand yes, really simple Monica Palmirani:hold on: simple situation is simple we MUST to model also the other situations parisse:~main__chp_I Monica Palmirani:nooo Monica Palmirani:I am forced to use internal id main__chp_I Monica Palmirani:and It is not necessary Monica Palmirani:at all Monica Palmirani:simple solution you said parisse:so you can use ~chap_I Grant Vergottini:I would not include main__ Monica Palmirani:what about annex_1__annex__3__main__4 Monica Palmirani:and why do not use / parisse:attachment_1__attachment_1__art_4 Fabio Vitali:We cannot use / as a separator in fragment ids, but we can and should use it to separate components from fragment ids Fabio Vitali:attachment_1/attachment_1/art_4 parisse:or attachment_1__attachment_1__amin__art_4 parisse:no attachment is an element that has a prefix_number for eId or wId parisse:so it is the same mechanism Monica Palmirani:no Monica Palmirani:it is not the same Monica Palmirani:we can use / for composing the URI Fabio Vitali:No veronique Fabio Vitali:NO NO NO Monica Palmirani:granularly Fabio Vitali:you have a fragment id that is cpmposed of parts separataed by __ Monica Palmirani:and hierarchyacally Fabio Vitali:But THAT IS THE FRAGMENT ID Fabio Vitali:then you have the component name Fabio Vitali:if the component name is part of the fragment id, it is alreay in the fragment id. Otherwise, you CANNOT USE __ to separate component names parisse:yes, inside an attachment you have only one document. You can refer to it using his IRI that is in its identification part of the metadata Fabio Vitali:otherwise we cannot find out where the fragment id starts parisse:or using the imbrication of element and treat it like any other portion Fabio Vitali:You are mixing up the organization of an XML Manifestation with the conceptual organization of the Expression. The fragment ids work at the Work and Expression level, too. Fabio Vitali:They should NOT depend on how you cut the Manifestation in pieces parisse:not it is not the case as I use the <component> element for that Monica Palmirani:you have also <portion> Fabio Vitali:NOOOOO Fabio Vitali:Expression-level documents do not contain portions! Fabio Vitali:This is only a MANIFESTATION-level trick Fabio Vitali:you cannot use manifestation-level ids for links Fabio Vitali:NEVER parisse:I can reference document attached to the "root" document using the mecanism based on the element (cmp_1__[portion inside the document] or using the IRI that is specify at the level of the attachment Monica Palmirani:this is the id parisse:what do you do when you use art_1__para_1 ? parisse:it is exactly the same Fabio Vitali:NO ID should change if you return a portion of a document or the whole document Monica Palmirani:One of the main comment of the reviewer Patrick is to divide the D3 in two parts: ID to move this part in D1 and naming convention of URI to maintain in D3 in order to not make confusion Monica Palmirani:now we are stuck in this discussion. parisse:yes, I agree with this, this is the reason I want a character to separe the two parts in the reference Monica Palmirani:confusing ID with URI Monica Palmirani:no Veronique Monica Palmirani:you pretend to use ID in the URI fragment Monica Palmirani:that are two different levels Monica Palmirani:components are part of the URI Monica Palmirani:fragment is linked to ID parisse:part that is build on id and part that is build on identification part of the metadata parisse:this is the meaning of the ~ for me parisse:but any other character is also good Monica Palmirani:/akn/eu/act/2015/123!main~art_12 Monica Palmirani:what about this Monica Palmirani:veronique Monica Palmirani:do you agree? Monica Palmirani:with main optional Monica Palmirani: /akn/eu/act/2015/123/fr@2015!main~art_12 Monica Palmirani:Veronique? do you agree since now? parisse:yes that is ok for me, as it separe the identification metadata from the id based info parisse:with only exception for the format Grant Vergottini:And I can use /akn/eu/act/2015/123/fr@2015~art_12 if I want? Monica Palmirani:yes Monica Palmirani:mmmh almost Monica Palmirani:! parisse:yes Monica Palmirani:!~art_12 Fabio Vitali:no Fabio Vitali:wait parisse:~art_12 (means, no info for the identification part) Fabio Vitali:IF we decide to separate compnents from fargment ids, then if there is no component spec, there must be no component spearator Fabio Vitali:So: Fabio Vitali:/akn/eu/act/2015/123/fr@2015~art_12 Monica Palmirani:great Fabio Vitali:/akn/eu/act/2015/123/fr@2015!main~art_12 parisse:~art_12.doc (with the only exception of the format) Fabio Vitali:/akn/eu/act/2015/123/fr@2015!main/annex_1~art_12 Fabio Vitali:/akn/eu/act/2015/123/fr@2015!annex_1~art_12 Fabio Vitali:etc Fabio Vitali:main is ALWAYS optional Monica Palmirani:ok now manifestation Fabio Vitali:manifestation level features come BEFORE the component, except for format, which is at the end Grant Vergottini:So much complexity!!!!!!!! Fabio Vitali:why? Grant Vergottini:!@^#$@ Fabio Vitali:there is no complexity, there is additional information Fabio Vitali:the URI does NOT change for documents without components Grant Vergottini:The problem is trying to explain this to people Fabio Vitali:Grant: you do not need this complexity until you actually need it. Fabio Vitali:Then the users themselves will ask for complexity parisse:I think that it must be mapped to the identification part of the document that is the attachment or the component Fabio Vitali:I believe we do not need TWO characters, and I believe ~ is enough for both component and fragment Grant Vergottini:The complexity should only become necessary when the situation arises where you need it. Otherwise, to the user, it appears as unnencessary Fabio Vitali:but if this cannot be reached, then I am fine with two characters, AS LONG AS format goes to the end Fabio Vitali:In this proposed situation, complexity does not arise unless you have complex documents MonicaPalmirani:/akn/eu/act/2015/123/fr@2015!annex_1~art_12.xml what is the rpoblem with that? MonicaPalmirani:/akn/eu/act/2015/123/fr@2015~art_12.xml Monica Palmirani:simple case Monica Palmirani:nothing more Grant Vergottini:I'm good with that Fabio Vitali:I can live with it parisse:/akn/eu/act/2015/123/fr@2015!annex_1!annex_3~art_12 Monica Palmirani:noooo Monica Palmirani:/akn/eu/act/2015/123/fr@2015!annex_1/annex_3~art_12 Fabio Vitali:ONE ! Fabio Vitali:If you have a complex hierarchy of components, you use / parisse:/akn/eu/act/2015/123/fr@2015!annex_1__annex_3~art_12 Fabio Vitali:NOOO parisse:one syntax, but different separator Fabio Vitali:/akn/eu/act/2015/123/fr@2015!annex_1/annex_3~art_12 Monica Palmirani:why veronique you have this need ? it seems to me that is a problem of tool Monica Palmirani:in your syntax I can say /akn/eu/act/2015/123/fr@2015!annex_1/annex_3 using the natural hierarchy of URI Fabio Vitali:I need to go now. I vote in favor for the current syntax. Please record this. I am not particularly willing to make any additional compromise parisse:In the first part of the IRI, the / separe different information ; in the component part, it is used for hierarchisation. But we have already __ for that parisse:so for me /akn/eu/act/2015/123/fr@2015!annex_1__annex_3~art_12 is more clean Monica Palmirani:current syntax is a big concept Fabio .... what is the current syntax Monica Palmirani:Veronique you are mixing different syntaxes and using / it is for sure more clear for the user Grant Vergottini:The __ is only used for assembling an identifier. I don't think if should be used to concatenate identifiers as well. Monica Palmirani:Right! Grant Monica Palmirani:so Veronique Monica Palmirani: /akn/eu/act/2015/123/fr@2015!annex_1/annex_3~art_12 parisse:it is not concatenation, it is hierarchisation Monica Palmirani:__ is not a hierarchisation Grant Vergottini:__ is for concatenation, / is for hierarchisation (is that a word?) Monica Palmirani:please consider that the people want to compose the URI using granular parts / Monica Palmirani:ok it is clear Monica Palmirani:I would like to vote a syntax Monica Palmirani:we MUST go in public review parisse:for the component ? yes : the annex 3 of the annex 2 is the same as the paragraph 3 of the article 2 Monica Palmirani:soon Monica Palmirani:no Monica Palmirani:annex 3 and annex 2 are not like paragraph 3 Monica Palmirani:so if there are no other important objections in term of use-cases I would like to vote parisse:or /akn/eu/act/2015/123/fr@2015!annex_1/annex_3~art_12/para_1 Monica Palmirani:MOTION: /akn/eu/act/2015/123/fr@2015!main/annex_1~art_12 with main optional; /akn/eu/act/2015/123/fr@2015!main/annex_1~art_12.xml for manifestation Grant Vergottini:+1 parisse:+1 Monica Palmirani:+1 parisse:Do you prefer /akn/eu/act/2015/123/fr@2015!annex_1/annex_3~art_12/para_1 or /akn/eu/act/2015/123/fr@2015!annex_1__annex_3~art_12__para_1 Grant Vergottini:I think Fabio's vote is implied? Monica Palmirani:yes Monica Palmirani:FABIO:+1 Monica Palmirani:APPROVED. Monica Palmirani:thanks parisse:Do you prefer /akn/eu/act/2015/123/fr@2015!annex_1/annex_3~art_12/para_1 or /akn/eu/act/2015/123/fr@2015!annex_1__annex_3~art_12__para_1 Grant Vergottini:First one Grant Vergottini:But I must go now. My next meeting starts in 3 minutes Monica Palmirani:me too parisse:ok, we replace everywhere __ by / Monica Palmirani:noo Monica Palmirani:art_12__para_1 Monica Palmirani:is the internal id parisse:yes see the answer of grant Grant Vergottini:__ for internal Id Monica Palmirani:we need to discusse parisse:it is not logical Monica Palmirani:yes it is Grant Vergottini:Ok. next time. Biut I really must go no Grant Vergottini:now Monica Palmirani:because you distinguish component to the internal fragment of the document Monica Palmirani:next Monica Palmirani:next is 25 Monica Palmirani:please prepare also the invoices Monica Palmirani:Grant and Veronique parisse:you use the same / for hierachisation and separation of information : akn/eu is not the same as annex_1/annex_2 Monica Palmirani:no the annex are component and _para is fragment Monica Palmirani:Next time 25 nov. Monica Palmirani:Invoices please parisse:in the first part, it is separation of information, in the second part, it is hierarchisation of component Monica Palmirani:bye Monica Palmirani:we will discuss the next time the art_2__para_1 parisse:can you give more info on the invoice I can do ? Monica Palmirani:or art_2/para_1 Monica Palmirani:yes by email parisse:fine Monica Palmirani:ok thanks Monica Palmirani:ciao .


  • 2.  RE:[legaldocml] URGENT: Summary of Naming Convention - D3

    Posted 11-12-2015 09:48
    Hello Monica and everybody see my comment hereafter   But before, I have something that I want to add in the specification (but we don't have the time to discussed it yesterday) :   Akoma Ntoso documents are divided into containers : <preface>, <preamble>, the main content of the document, <conclusions> and <attachments>. The <preface>, <preamble> <attachments> and <conclusions> elements are available in all types of documents.   But the " main content of a document" is marked by different kind of  elements, depending on the type of the akoma ntoso documents (the content are differently structured).   For single document (so, not a document collection), we have: <body>, <mainBody>, <amendmentBody>, < debateBody>, <judgmentBody>.   I propose that, for all these elements ( <body>, <mainBody>, <amendmentBody>, < debateBody>, <judgmentBody>) , the Akn naming convention provide a common prefix (for example, « body »), so that we can use it for selecting the whole body of an act ( [ http://www.authority.org]/akn/sl/act/2004-02-13/2 ~body For the rest, see my comments below (in blue)     Kind regards   Véronique Véronique Parisse AUBAY Luxembourg Orco House 38, Parc d’activités - L-8308 Capellen Standard : +352 2992501 Fax : +352 299251 www.aubay.com ________________________________________ De : legaldocml@lists.oasis-open.org [legaldocml@lists.oasis-open.org] de la part de monica.palmirani [monica.palmirani@unibo.it] Envoyé : jeudi 12 novembre 2015 8:56 À : legaldocml@lists.oasis-open.org Objet : [legaldocml] URGENT: Summary of Naming Convention - D3 Dear all, thanks for the yesterday TC meeting. I would like to summarize the decision taken and to consolidate the pending issues in order to close the D3 remotely before the next TC meeting scheduled Nov. 25th. We agree on this syntax where (see the Adobe Connect minutes below): WORK /akn/eu/act/2015/123~art_12 - simple situation /akn/eu/act/2015/123!main/~art_12 - main is optional also, I don't think that the / is necessary before the ~ => /akn/eu/act/2015/123!main~art_12 /akn/eu/act/2015/123!main/annex_1/annex_5~art_12 - complex situation or /akn/eu/act/2015/123!annex_1/annex_5~art_12  (main optional)   _expression_ /akn/eu/act/2015/123/fr@2015~art_12 - simple situation /akn/eu/act/2015/123/fr@2015!main/~art_12 - main is optional /akn/eu/act/2015/123/fr@2015!main~art_12 - main is optional /akn/eu/act/2015/123/fr@2015!main/annex_1/annex_5~art_12 - complex situation with components or /akn/eu/act/2015/123/fr@2015!annex_1/annex_5~art_12 (main is optional) /akn/eu/act/2015/123/fr@2015/eupub!main/annex_1/annex_5~art_12 - complex situation with components and optional metadata of the _expression_ (eupub) also /akn/eu/bill/2015/123/fr@ver_final!annex_1/annex_5~art_12 (version "final" of the bill for example when a proposal for an act is adopted by the Commission)  MANIFESTATION /akn/eu/act/2015/123/fr@2015~art_12.xml - simple situation /akn/eu/act/2015/123/fr@2015!main/~art_12.xml - main is optional /akn/eu/act/2015/123/fr@2015!main~art_12.xml - main is optional /akn/eu/act/2015/123/fr@2015!main/annex_1/annex_5~art_12.xml - complex situation with components or /akn/eu/act/2015/123/fr@2015!annex_1/annex_5~art_12.xml (main optional) /akn/eu/act/2015/123/fr@2015/eupub!main/annex_1/annex_5~art_12.xml- complex situation with components and optional metadata of the _expression_ (eupub) /akn/eu/act/2015/123/fr@2015/eupub!annex_1/annex_5~art_12.xml - (main optional) Another point For the fragment/portion, we explain the mapping between the structure and the name used in the reference ("art" for article, "chp" for chapter, name of the element in general, how is make the numbering, ...) For the component , we need also to specify where we find the information (which part of metadata correspond to the name of the component (annex, appendix, schedule, ... : is it the name attribute of the akn document element ? is it the metadata subType, other ?),  We need also to explain  how to design a component that has no component name (for example, documents that are attached and not included, like the agreement attached to a decision act). Finally, we need also to provide some examples for documentCollection (where you have two type of component : one inside the main body and one inside the attachment). PENDING ISSUES sub-fragments:   To clarify my position   I think that it is dommage that the "/" separator is used for two type of information in the structure of the IRI - separate different metadata (for example, in "eu/act", the slash separate different type of information ( the country and the type of the act). - mark the hierarchy (for example, annex_1/appendix_3/attachment_2 ...)   On another point, we have another syntax for marking a hierarchy : "__"  So why can we not do this : /akn/eu/act/2015/123/fr@2015/eupub!annex_1__annex_5~art_12__para_1.xml   Alternatively, if you consider that "__" is not enough esthetic, then we can continue to use the "/" meltingpot, but EVERYWHERE, so /akn/eu/act/2015/123/fr@2015/eupub!annex_1/annex_5~art_12/para_23/list_2/point_9.xml#art_12/para_23/list_2/point_9 Consider that it is the syntax of referencing but it can never be considered as the "exact value" of the eId attribute , because, as it was clearly explained yesterday, the "eId" value is completely dependant on the organisation of the manifestation and whether you physically group or not  the component manifestations in the same xml document (in fact, eId is constained by the XML syntax and rules on the unicity of the attribute) but of course, the author of a citation has not to take this into account. So, the naming convention of the reference is more generic and cannot be build on the real organisation of the manifestations.   Much more, the naming convention of the reference must, for my point of view, be considered as a generic syntax allowing to find information in documents independently of its format: I can use the akn naming convention to reference fragment/portion in pdf or word document (in fact, I do it for referencing portion/fragment in a Formex document that has a completely different syntax for the naming of the text structure.  So, I establish a mapping between these two syntaxes).   So, choice between the / or the __ (my preference is for the "__") but please, adopt it everywhere a hierarchy is expressed (for component hierarchy also), Of course, we need to align the syntax of the eId accordingly (hoping that "/" is allowed for eId ;-) ). Veronique proposal: /akn/eu/act/2015/123/fr@2015/eupub!main/annex_1/annex_5~art_12/para_23/list_2/point_9 Other proposal: /akn/eu/act/2015/123/fr@2015/eupub!main/annex_1/annex_5~art_12__para_23__list_2__point_9 Take also in consideration the fragment after the format: a) /akn/eu/act/2015/123/fr@2015/eupub!main/annex_1/annex_5~art_12/para_23/list_2/point_9#art_12__para_23__list_2__point_9 or b) /akn/eu/act/2015/123/fr@2015/eupub!annex_1/annex_5~art_12__para_23__list_2__point_9.xml#art_12__para_23__list_2__point_9 or c) /akn/eu/act/2015/123/fr@2015/eupub!annex_1/annex_5~art_12/para_23/list_2/point_9#art_12/para_23/list_2/point_9 Please start the discussion in mailing list because I want to close all the deliverable within the year 2015 and the correspondent short-public-review. It is urgent and necessary for the success of the standard. Yours, Monica --------------     The Minutes of yesterday from Adobe Connect: 11th Nov. 2015    Monica Palmirani:hi Grant    Grant Vergottini:Hi Monica    Monica Palmirani:https://www.oasis-open.org/apps/org/workgroup/legaldocml/event.php?event_id=41129    parisse:hello    Monica Palmirani:hello    Monica Palmirani:Hello Fabio    Fabio Vitali:ciao    Fabio Vitali:As soon as Sylvia ecords her attendance, we have quorum    Fabio Vitali:so we can start    MonicaPalmirani:/akn/eu/act/2015/123/fr@/eupub~$/art_12.akn#art_12   (Art. 12 of this component)    Fabio Vitali:yes    Grant Vergottini:yes    parisse:yes    Monica Palmirani:- /akn/eu/act/2015/123/fr@/eupub!$~art_12.akn#art_12  (Art. 12 of this component)    parisse:but not the doc    Monica Palmirani:- /akn/eu/act/2015/123/fr@/eupub~Annex_3/Annex_1/art_12.akn#art_12  (Art. 12 of component Annex 1 of Annex 3)    Monica Palmirani:- /akn/eu/act/2015/123/fr@/eupub!Annex_3/Annex_1~art_12.akn#art_12  (Art. 12 of component Annex 1 of Annex 3)    Grant Vergottini:I prefer the first    MonicaPalmirani:/akn/eu/act/2015/123/fr@/eupub~Annex_3/Annex_1/art_12.akn#art_12    Grant Vergottini:yes    Grant Vergottini:yes    parisse:[http://www.authority.org]/akn/sl/act/2004-02-13/2~art_3 with the same syntax as for the # [http://www.authority.org]/akn/sl/act/2004-02-13/2#art_3    Fabio Vitali:No Veronique, it is NOT the same syntax.    parisse:why and how the user know that ?    Fabio Vitali:For one, the # goes always at the end of the string, while the ~something comes before the format    Fabio Vitali:Second: the ~ is part of the request, the # is not part of the request,    Fabio Vitali:you can put BOTH    parisse:this is what I want to change : the ~is also always at the end    Fabio Vitali:Please no. The format is at the end    parisse:not for me    parisse:the format is at the same position as for the #    parisse:why to change ?    parisse:the only difference is that all the "string" is sent to the server    Grant Vergottini:I'm sorry if I'm coming into this late, but the # part is not part of the request - and it stripped away before it gets there. We can't change that. What's left should end in the format.    Grant Vergottini:What's the issue? It seems that a lot of it is decided by standards that come before us    parisse:yes, Grant, it is the reason I propose to replace the # by the ~when you want that all the "string" is sent to the server    Monica Palmirani:The parser is not able to distinguish univocally the optional part of the _expression_ to the components    parisse:I dont understant this    parisse:Which example ?    Grant Vergottini:In my existing implementation, I do {doc}{@expressionpart}/{fragmentPath}.{format}#{id}. The only difference I can see from Fabio's proposal is that I use / instead of ~    Monica Palmirani:!    Fabio Vitali:Veronique, in the mail I gave also a brief specification of the algorithm necessary to extract the fragment id part from the URI. It is literally three lines long.    parisse:I propose also something for annex of annex.  And also, I thing that the ! is also free.  Last, I don't understand why the format is sometimes at the end and sometimes not.    Fabio Vitali:It is ALWAYS at the end of the request.    Fabio Vitali:as with any decent-looking URI    parisse:so #art+*.doc ?    Grant Vergottini:The format is always at the end in my case. The part starting with # is not part of the request    parisse:srry #art_12.doc ?    Fabio Vitali:#art is NOT part of the request    Fabio Vitali:this is the URI syntax not me    parisse:I don't understand the difference : it is a way to specify a portion/fragment of text    parisse:the only thing is that it is impossible to sent to the server something after the # but it is all.    Fabio Vitali:Veronique: there is a designed structure of the URI, that we are keeping consistent: AKN URIs look like normal URIs as much as possible, are organized in parts, and these parts make sense.    Fabio Vitali:The first part is the WORK    Fabio Vitali:The secodn PART is the _expression_    parisse:For a user given a reference, there is no need to make a difference between the two structure, there is no need to put the format at the end sometimes and sometimes not    Fabio Vitali:The third part is manifestation (minus, for tradition, the format)    Fabio Vitali:The FOURTH part is the internal specification    Fabio Vitali:The fifth part ìs the format    parisse:not minus that the question    Monica Palmirani:The internal specification can be used also with  WORK and _expression_    parisse:and the last part is the fragment/portion part with a special character before (~or ! )    Grant Vergottini:I've never seen a URL that specified a format anywhere but at the end    Monica Palmirani:right Grant and so .xml#art_12    Monica Palmirani:this is the URL syntax    parisse:when you have the # how does it works ?    parisse:the format is before the #, not after    Grant Vergottini:The # is stripped away by the browser before the request is transmitted    parisse:I only want to use the same syntax, replacing the # by another character so that the server receive everything    Monica Palmirani:it doesn't work veronique    Monica Palmirani:for all the situations that we have    Grant Vergottini:If you just replace the # with a ~, you get a weird URL that isn't conventional    Monica Palmirani:right    Monica Palmirani:Veronique    Grant Vergottini:For some of my customers, they break the document up into a lot of small files, on for each section -- and then save the result in the file system It's easier to support that methodology using {docPath}{expressionPart}/{fragmentPath}.{format}    Grant Vergottini:one for each section    Grant Vergottini:That's why I use / instead of ~, but I'm not insistent on that    Monica Palmirani:please start with WORK    Monica Palmirani:/akn/eu/act/2015/123~main/art_12    Grant Vergottini:With my methodology, I can implement a document broken into pieces using the file system and no resolver -- just a normal web server    parisse:ok, but do you agree on the ~for separate the fragment/portion part from the IRI work _expression_ manifestation minus format ?    parisse:That is very important for me    Monica Palmirani:you are not able to redirect all the languages and all the versions useful for an interval of time Grant if you use only the file system    Grant Vergottini:I'm happy to use the ~ instead of the /    parisse:I can write ~main__art_12    Monica Palmirani:~main/art_12    Grant Vergottini:I understand that Monica, but not all customers require that    parisse:if main is a prefix like art    Grant Vergottini:Some customers need something really simple    Monica Palmirani:We need to serve all    parisse:no I think that you can do it using the same prefix_number (in the case of main, no number is needed)    Grant Vergottini:My methodology is as Fabio proposes, except for the ~, but I'm happy to accept the ~    Fabio Vitali:I believe that "main"  should be optional. ~main/art_12 and ~art_12 should mean exactly the same thing    parisse:so ~main__art_1__para_1    Grant Vergottini:Yes, absolutely. For me it would be ~main/sec_12 == ~sec_12    parisse:@grand yes, really simple    Monica Palmirani:hold on: simple situation is simple we MUST to model also the other situations    parisse:~main__chp_I    Monica Palmirani:nooo    Monica Palmirani:I am forced to use internal id main__chp_I    Monica Palmirani:and It is not necessary    Monica Palmirani:at all    Monica Palmirani:simple solution you said    parisse:so you can use ~chap_I    Grant Vergottini:I would not include main__    Monica Palmirani:what about annex_1__annex__3__main__4    Monica Palmirani:and why do not use /    parisse:attachment_1__attachment_1__art_4    Fabio Vitali:We cannot use / as a separator in fragment ids, but we can and should use it to separate components from fragment ids    Fabio Vitali:attachment_1/attachment_1/art_4    parisse:or attachment_1__attachment_1__amin__art_4    parisse:no attachment is an element that has a prefix_number for eId or wId    parisse:so it is the same mechanism    Monica Palmirani:no    Monica Palmirani:it is not the same    Monica Palmirani:we can use / for composing the URI    Fabio Vitali:No veronique    Fabio Vitali:NO NO NO    Monica Palmirani:granularly    Fabio Vitali:you have a fragment id that is cpmposed of parts separataed by __    Monica Palmirani:and hierarchyacally    Fabio Vitali:But THAT IS THE FRAGMENT ID    Fabio Vitali:then you have the component name    Fabio Vitali:if the component name is part of the fragment id, it is alreay in the fragment id. Otherwise, you CANNOT USE __ to separate component names    parisse:yes, inside an attachment you have only one document.  You can refer to it using his IRI that is in its identification part of the metadata    Fabio Vitali:otherwise we cannot find out where the fragment id starts    parisse:or using the imbrication of element and treat it like any other portion    Fabio Vitali:You are mixing up the organization of an XML Manifestation with the conceptual organization of the _expression_. The fragment ids work at the Work and _expression_ level, too.    Fabio Vitali:They should NOT depend on how you cut the Manifestation in pieces    parisse:not it is not the case as I use the <component> element for that    Monica Palmirani:you have also <portion>    Fabio Vitali:NOOOOO    Fabio Vitali:_expression_-level documents do not contain portions!    Fabio Vitali:This is only a MANIFESTATION-level trick    Fabio Vitali:you cannot use manifestation-level ids for links    Fabio Vitali:NEVER    parisse:I can reference document attached to the "root" document using the mecanism based on the element (cmp_1__[portion inside the document] or using the IRI that is specify at the level of the attachment    Monica Palmirani:this is the id    parisse:what do you do when you use art_1__para_1 ?    parisse:it is exactly the same    Fabio Vitali:NO ID should change if you return a portion of a document or the whole document    Monica Palmirani:One of the main comment of the reviewer Patrick is to divide the D3 in two parts: ID to  move this part in D1 and naming convention of URI to maintain in D3 in order to not make confusion    Monica Palmirani:now we are stuck in this discussion.    parisse:yes, I agree with this, this is the reason I want a character to separe the two parts in the reference    Monica Palmirani:confusing ID with URI    Monica Palmirani:no Veronique    Monica Palmirani:you pretend to use ID in the URI fragment    Monica Palmirani:that are two different levels    Monica Palmirani:components are part of the URI    Monica Palmirani:fragment is linked to ID    parisse:part that is build on id and part that is build on identification part of the metadata    parisse:this is the meaning of the ~ for me    parisse:but any other character is also good    Monica Palmirani:/akn/eu/act/2015/123!main~art_12    Monica Palmirani:what about this    Monica Palmirani:veronique    Monica Palmirani:do you agree?    Monica Palmirani:with main optional    Monica Palmirani: /akn/eu/act/2015/123/fr@2015!main~art_12    Monica Palmirani:Veronique? do you agree since now?    parisse:yes that is ok for me, as it separe the identification metadata from the id based info    parisse:with only exception for the format    Grant Vergottini:And I can use  /akn/eu/act/2015/123/fr@2015~art_12 if I want?    Monica Palmirani:yes    Monica Palmirani:mmmh almost    Monica Palmirani:!    parisse:yes    Monica Palmirani:!~art_12    Fabio Vitali:no    Fabio Vitali:wait    parisse:~art_12 (means, no info for the identification part)    Fabio Vitali:IF we decide to separate compnents from fargment ids, then if there is no component spec, there must be no component spearator    Fabio Vitali:So:    Fabio Vitali:/akn/eu/act/2015/123/fr@2015~art_12    Monica Palmirani:great    Fabio Vitali:/akn/eu/act/2015/123/fr@2015!main~art_12    parisse:~art_12.doc (with the only exception of the format)    Fabio Vitali:/akn/eu/act/2015/123/fr@2015!main/annex_1~art_12    Fabio Vitali:/akn/eu/act/2015/123/fr@2015!annex_1~art_12    Fabio Vitali:etc    Fabio Vitali:main is ALWAYS optional    Monica Palmirani:ok now manifestation    Fabio Vitali:manifestation level features come BEFORE the component, except for format, which is at the end    Grant Vergottini:So much complexity!!!!!!!!    Fabio Vitali:why?    Grant Vergottini:!@^#$@    Fabio Vitali:there is no complexity, there is additional information    Fabio Vitali:the URI does NOT change for documents without components    Grant Vergottini:The problem is trying to explain this to people    Fabio Vitali:Grant: you do not need this complexity until you actually need it.    Fabio Vitali:Then the users themselves will ask for complexity    parisse:I think that it must be mapped to the identification part of the document that is the attachment or the component    Fabio Vitali:I believe we do not need TWO characters, and I believe ~ is enough for both component and fragment    Grant Vergottini:The complexity should only become necessary when the situation arises where you need it. Otherwise, to the user, it appears as unnencessary    Fabio Vitali:but if this cannot be reached, then I am fine with two characters, AS LONG AS format goes to the end    Fabio Vitali:In this proposed situation, complexity does not arise unless you have complex documents    MonicaPalmirani:/akn/eu/act/2015/123/fr@2015!annex_1~art_12.xml  what is the rpoblem with that?    MonicaPalmirani:/akn/eu/act/2015/123/fr@2015~art_12.xml    Monica Palmirani:simple case    Monica Palmirani:nothing more    Grant Vergottini:I'm good with that    Fabio Vitali:I can live with it    parisse:/akn/eu/act/2015/123/fr@2015!annex_1!annex_3~art_12    Monica Palmirani:noooo    Monica Palmirani:/akn/eu/act/2015/123/fr@2015!annex_1/annex_3~art_12    Fabio Vitali:ONE !    Fabio Vitali:If you have a complex hierarchy of components, you use /    parisse:/akn/eu/act/2015/123/fr@2015!annex_1__annex_3~art_12    Fabio Vitali:NOOO    parisse:one syntax, but different separator    Fabio Vitali:/akn/eu/act/2015/123/fr@2015!annex_1/annex_3~art_12    Monica Palmirani:why veronique you have this need ? it seems to me that is a problem of tool    Monica Palmirani:in your syntax I can say  /akn/eu/act/2015/123/fr@2015!annex_1/annex_3 using the natural hierarchy of URI    Fabio Vitali:I need to go now. I vote in favor for the current syntax. Please record this. I am not particularly willing to make any additional compromise    parisse:In the first part of the IRI, the / separe different information ; in the component part, it is used for hierarchisation.  But we have already __ for that    parisse:so for me  /akn/eu/act/2015/123/fr@2015!annex_1__annex_3~art_12 is more clean    Monica Palmirani:current syntax is a big concept Fabio .... what is the current syntax    Monica Palmirani:Veronique you are mixing different syntaxes and using / it is for sure more clear for the user    Grant Vergottini:The __ is only used for assembling an identifier. I don't think if should be used to concatenate identifiers as well.    Monica Palmirani:Right! Grant    Monica Palmirani:so Veronique    Monica Palmirani: /akn/eu/act/2015/123/fr@2015!annex_1/annex_3~art_12    parisse:it is not concatenation, it is hierarchisation    Monica Palmirani:__ is not a hierarchisation    Grant Vergottini:__ is for concatenation, / is for hierarchisation (is that a word?)    Monica Palmirani:please consider that the people want to compose the URI using granular parts /    Monica Palmirani:ok it is clear    Monica Palmirani:I would like to vote a syntax    Monica Palmirani:we MUST go in public review    parisse:for the component ? yes : the annex 3 of the annex 2 is the same as the paragraph 3 of the article 2    Monica Palmirani:soon    Monica Palmirani:no    Monica Palmirani:annex 3 and annex 2 are not like paragraph 3    Monica Palmirani:so if there are no other important objections in term of use-cases  I would like to vote    parisse:or /akn/eu/act/2015/123/fr@2015!annex_1/annex_3~art_12/para_1    Monica Palmirani:MOTION: /akn/eu/act/2015/123/fr@2015!main/annex_1~art_12 with main optional; /akn/eu/act/2015/123/fr@2015!main/annex_1~art_12.xml for manifestation    Grant Vergottini:+1    parisse:+1    Monica Palmirani:+1    parisse:Do you prefer  /akn/eu/act/2015/123/fr@2015!annex_1/annex_3~art_12/para_1 or  /akn/eu/act/2015/123/fr@2015!annex_1__annex_3~art_12__para_1    Grant Vergottini:I think Fabio's vote is implied?    Monica Palmirani:yes    Monica Palmirani:FABIO:+1    Monica Palmirani:APPROVED.    Monica Palmirani:thanks    parisse:Do you prefer  /akn/eu/act/2015/123/fr@2015!annex_1/annex_3~art_12/para_1 or  /akn/eu/act/2015/123/fr@2015!annex_1__annex_3~art_12__para_1    Grant Vergottini:First one    Grant Vergottini:But I must go now. My next meeting starts in 3 minutes    Monica Palmirani:me too    parisse:ok, we replace everywhere __ by /    Monica Palmirani:noo    Monica Palmirani:art_12__para_1    Monica Palmirani:is the internal id    parisse:yes see the answer of grant    Grant Vergottini:__ for internal Id    Monica Palmirani:we need to discusse    parisse:it is not logical    Monica Palmirani:yes it is    Grant Vergottini:Ok. next time. Biut I really must go no    Grant Vergottini:now    Monica Palmirani:because you distinguish component to the internal fragment of the document    Monica Palmirani:next    Monica Palmirani:next is 25    Monica Palmirani:please prepare also the invoices    Monica Palmirani:Grant and Veronique    parisse:you use the same / for hierachisation and separation of information : akn/eu is not the same as annex_1/annex_2    Monica Palmirani:no the annex are component and _para is fragment    Monica Palmirani:Next time 25 nov.    Monica Palmirani:Invoices please    parisse:in the first part, it is separation of information, in the second part, it is hierarchisation of component    Monica Palmirani:bye    Monica Palmirani:we will discuss the next time the art_2__para_1    parisse:can you give more info on the invoice I can do ?    Monica Palmirani:or art_2/para_1    Monica Palmirani:yes by email    parisse:fine    Monica Palmirani:ok thanks    Monica Palmirani:ciao . --------------------------------------------------------------------- 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


  • 3.  RE:[legaldocml] URGENT: Summary of Naming Convention - D3

    Posted 11-12-2015 14:28
    Dear Monica and Fabio,   If you think that my position regarding the use of "/" and "__" turns the IRI convention on its head, is too non orthodox and leads to the definition of a maverick standard, please leaves this problem down.   I can perflectly live with one specific syntax for the hierarchy of components (between "!" and "~", like "annex_5/appendix_2") and another syntax for portion/fragment (after ~, "art_5__para_1"), especially taking into account the deadline explained by Monica and the significant effort to modify this at this stage of the project.   In this case, we skip the discussion on the "PENDING ISSUES sub-fragments:" and focus on the other points.     Kind regards   Véronique   Véronique Parisse AUBAY Luxembourg Orco House 38, Parc d’activités - L-8308 Capellen Standard : +352 2992501 Fax : +352 299251 www.aubay.com De : legaldocml@lists.oasis-open.org [legaldocml@lists.oasis-open.org] de la part de PARISSE, Véronique [V.PARISSE@aubay.lu] Envoyé : jeudi 12 novembre 2015 10:47 À : monica.palmirani; legaldocml@lists.oasis-open.org Objet : [legaldocml] RE:[legaldocml] URGENT: Summary of Naming Convention - D3 Hello Monica and everybody see my comment hereafter   But before, I have something that I want to add in the specification (but we don't have the time to discussed it yesterday) :   Akoma Ntoso documents are divided into containers : <preface>, <preamble>, the main content of the document, <conclusions> and <attachments>. The <preface>, <preamble> <attachments> and <conclusions> elements are available in all types of documents.   But the " main content of a document" is marked by different kind of  elements, depending on the type of the akoma ntoso documents (the content are differently structured).   For single document (so, not a document collection), we have: <body>, <mainBody>, <amendmentBody>, < debateBody>, <judgmentBody>.   I propose that, for all these elements ( <body>, <mainBody>, <amendmentBody>, < debateBody>, <judgmentBody>) , the Akn naming convention provide a common prefix (for example, « body »), so that we can use it for selecting the whole body of an act ( [ http://www.authority.org]/akn/sl/act/2004-02-13/2 ~body For the rest, see my comments below (in blue)     Kind regards   Véronique Véronique Parisse AUBAY Luxembourg Orco House 38, Parc d’activités - L-8308 Capellen Standard : +352 2992501 Fax : +352 299251 www.aubay.com ________________________________________ De : legaldocml@lists.oasis-open.org [legaldocml@lists.oasis-open.org] de la part de monica.palmirani [monica.palmirani@unibo.it] Envoyé : jeudi 12 novembre 2015 8:56 À : legaldocml@lists.oasis-open.org Objet : [legaldocml] URGENT: Summary of Naming Convention - D3 Dear all, thanks for the yesterday TC meeting. I would like to summarize the decision taken and to consolidate the pending issues in order to close the D3 remotely before the next TC meeting scheduled Nov. 25th. We agree on this syntax where (see the Adobe Connect minutes below): WORK /akn/eu/act/2015/123~art_12 - simple situation /akn/eu/act/2015/123!main/~art_12 - main is optional also, I don't think that the / is necessary before the ~ => /akn/eu/act/2015/123!main~art_12 /akn/eu/act/2015/123!main/annex_1/annex_5~art_12 - complex situation or /akn/eu/act/2015/123!annex_1/annex_5~art_12  (main optional)   _expression_ /akn/eu/act/2015/123/fr@2015~art_12 - simple situation /akn/eu/act/2015/123/fr@2015!main/~art_12 - main is optional /akn/eu/act/2015/123/fr@2015!main~art_12 - main is optional /akn/eu/act/2015/123/fr@2015!main/annex_1/annex_5~art_12 - complex situation with components or /akn/eu/act/2015/123/fr@2015!annex_1/annex_5~art_12 (main is optional) /akn/eu/act/2015/123/fr@2015/eupub!main/annex_1/annex_5~art_12 - complex situation with components and optional metadata of the _expression_ (eupub) also /akn/eu/bill/2015/123/fr@ver_final!annex_1/annex_5~art_12 (version "final" of the bill for example when a proposal for an act is adopted by the Commission)  MANIFESTATION /akn/eu/act/2015/123/fr@2015~art_12.xml - simple situation /akn/eu/act/2015/123/fr@2015!main/~art_12.xml - main is optional /akn/eu/act/2015/123/fr@2015!main~art_12.xml - main is optional /akn/eu/act/2015/123/fr@2015!main/annex_1/annex_5~art_12.xml - complex situation with components or /akn/eu/act/2015/123/fr@2015!annex_1/annex_5~art_12.xml (main optional) /akn/eu/act/2015/123/fr@2015/eupub!main/annex_1/annex_5~art_12.xml- complex situation with components and optional metadata of the _expression_ (eupub) /akn/eu/act/2015/123/fr@2015/eupub!annex_1/annex_5~art_12.xml - (main optional) Another point For the fragment/portion, we explain the mapping between the structure and the name used in the reference ("art" for article, "chp" for chapter, name of the element in general, how is make the numbering, ...) For the component , we need also to specify where we find the information (which part of metadata correspond to the name of the component (annex, appendix, schedule, ... : is it the name attribute of the akn document element ? is it the metadata subType, other ?),  We need also to explain  how to design a component that has no component name (for example, documents that are attached and not included, like the agreement attached to a decision act). Finally, we need also to provide some examples for documentCollection (where you have two type of component : one inside the main body and one inside the attachment). PENDING ISSUES sub-fragments:   To clarify my position   I think that it is dommage that the "/" separator is used for two type of information in the structure of the IRI - separate different metadata (for example, in "eu/act", the slash separate different type of information ( the country and the type of the act). - mark the hierarchy (for example, annex_1/appendix_3/attachment_2 ...)   On another point, we have another syntax for marking a hierarchy : "__"  So why can we not do this : /akn/eu/act/2015/123/fr@2015/eupub!annex_1__annex_5~art_12__para_1.xml   Alternatively, if you consider that "__" is not enough esthetic, then we can continue to use the "/" meltingpot, but EVERYWHERE, so /akn/eu/act/2015/123/fr@2015/eupub!annex_1/annex_5~art_12/para_23/list_2/point_9.xml#art_12/para_23/list_2/point_9 Consider that it is the syntax of referencing but it can never be considered as the "exact value" of the eId attribute , because, as it was clearly explained yesterday, the "eId" value is completely dependant on the organisation of the manifestation and whether you physically group or not  the component manifestations in the same xml document (in fact, eId is constained by the XML syntax and rules on the unicity of the attribute) but of course, the author of a citation has not to take this into account. So, the naming convention of the reference is more generic and cannot be build on the real organisation of the manifestations.   Much more, the naming convention of the reference must, for my point of view, be considered as a generic syntax allowing to find information in documents independently of its format: I can use the akn naming convention to reference fragment/portion in pdf or word document (in fact, I do it for referencing portion/fragment in a Formex document that has a completely different syntax for the naming of the text structure.  So, I establish a mapping between these two syntaxes).   So, choice between the / or the __ (my preference is for the "__") but please, adopt it everywhere a hierarchy is expressed (for component hierarchy also), Of course, we need to align the syntax of the eId accordingly (hoping that "/" is allowed for eId ;-) ). Veronique proposal: /akn/eu/act/2015/123/fr@2015/eupub!main/annex_1/annex_5~art_12/para_23/list_2/point_9 Other proposal: /akn/eu/act/2015/123/fr@2015/eupub!main/annex_1/annex_5~art_12__para_23__list_2__point_9 Take also in consideration the fragment after the format: a) /akn/eu/act/2015/123/fr@2015/eupub!main/annex_1/annex_5~art_12/para_23/list_2/point_9#art_12__para_23__list_2__point_9 or b) /akn/eu/act/2015/123/fr@2015/eupub!annex_1/annex_5~art_12__para_23__list_2__point_9.xml#art_12__para_23__list_2__point_9 or c) /akn/eu/act/2015/123/fr@2015/eupub!annex_1/annex_5~art_12/para_23/list_2/point_9#art_12/para_23/list_2/point_9 Please start the discussion in mailing list because I want to close all the deliverable within the year 2015 and the correspondent short-public-review. It is urgent and necessary for the success of the standard. Yours, Monica --------------     The Minutes of yesterday from Adobe Connect: 11th Nov. 2015    Monica Palmirani:hi Grant    Grant Vergottini:Hi Monica    Monica Palmirani:https://www.oasis-open.org/apps/org/workgroup/legaldocml/event.php?event_id=41129    parisse:hello    Monica Palmirani:hello    Monica Palmirani:Hello Fabio    Fabio Vitali:ciao    Fabio Vitali:As soon as Sylvia ecords her attendance, we have quorum    Fabio Vitali:so we can start    MonicaPalmirani:/akn/eu/act/2015/123/fr@/eupub~$/art_12.akn#art_12   (Art. 12 of this component)    Fabio Vitali:yes    Grant Vergottini:yes    parisse:yes    Monica Palmirani:- /akn/eu/act/2015/123/fr@/eupub!$~art_12.akn#art_12  (Art. 12 of this component)    parisse:but not the doc    Monica Palmirani:- /akn/eu/act/2015/123/fr@/eupub~Annex_3/Annex_1/art_12.akn#art_12  (Art. 12 of component Annex 1 of Annex 3)    Monica Palmirani:- /akn/eu/act/2015/123/fr@/eupub!Annex_3/Annex_1~art_12.akn#art_12  (Art. 12 of component Annex 1 of Annex 3)    Grant Vergottini:I prefer the first    MonicaPalmirani:/akn/eu/act/2015/123/fr@/eupub~Annex_3/Annex_1/art_12.akn#art_12    Grant Vergottini:yes    Grant Vergottini:yes    parisse:[http://www.authority.org]/akn/sl/act/2004-02-13/2~art_3 with the same syntax as for the # [http://www.authority.org]/akn/sl/act/2004-02-13/2#art_3    Fabio Vitali:No Veronique, it is NOT the same syntax.    parisse:why and how the user know that ?    Fabio Vitali:For one, the # goes always at the end of the string, while the ~something comes before the format    Fabio Vitali:Second: the ~ is part of the request, the # is not part of the request,    Fabio Vitali:you can put BOTH    parisse:this is what I want to change : the ~is also always at the end    Fabio Vitali:Please no. The format is at the end    parisse:not for me    parisse:the format is at the same position as for the #    parisse:why to change ?    parisse:the only difference is that all the "string" is sent to the server    Grant Vergottini:I'm sorry if I'm coming into this late, but the # part is not part of the request - and it stripped away before it gets there. We can't change that. What's left should end in the format.    Grant Vergottini:What's the issue? It seems that a lot of it is decided by standards that come before us    parisse:yes, Grant, it is the reason I propose to replace the # by the ~when you want that all the "string" is sent to the server    Monica Palmirani:The parser is not able to distinguish univocally the optional part of the _expression_ to the components    parisse:I dont understant this    parisse:Which example ?    Grant Vergottini:In my existing implementation, I do {doc}{@expressionpart}/{fragmentPath}.{format}#{id}. The only difference I can see from Fabio's proposal is that I use / instead of ~    Monica Palmirani:!    Fabio Vitali:Veronique, in the mail I gave also a brief specification of the algorithm necessary to extract the fragment id part from the URI. It is literally three lines long.    parisse:I propose also something for annex of annex.  And also, I thing that the ! is also free.  Last, I don't understand why the format is sometimes at the end and sometimes not.    Fabio Vitali:It is ALWAYS at the end of the request.    Fabio Vitali:as with any decent-looking URI    parisse:so #art+*.doc ?    Grant Vergottini:The format is always at the end in my case. The part starting with # is not part of the request    parisse:srry #art_12.doc ?    Fabio Vitali:#art is NOT part of the request    Fabio Vitali:this is the URI syntax not me    parisse:I don't understand the difference : it is a way to specify a portion/fragment of text    parisse:the only thing is that it is impossible to sent to the server something after the # but it is all.    Fabio Vitali:Veronique: there is a designed structure of the URI, that we are keeping consistent: AKN URIs look like normal URIs as much as possible, are organized in parts, and these parts make sense.    Fabio Vitali:The first part is the WORK    Fabio Vitali:The secodn PART is the _expression_    parisse:For a user given a reference, there is no need to make a difference between the two structure, there is no need to put the format at the end sometimes and sometimes not    Fabio Vitali:The third part is manifestation (minus, for tradition, the format)    Fabio Vitali:The FOURTH part is the internal specification    Fabio Vitali:The fifth part ìs the format    parisse:not minus that the question    Monica Palmirani:The internal specification can be used also with  WORK and _expression_    parisse:and the last part is the fragment/portion part with a special character before (~or ! )    Grant Vergottini:I've never seen a URL that specified a format anywhere but at the end    Monica Palmirani:right Grant and so .xml#art_12    Monica Palmirani:this is the URL syntax    parisse:when you have the # how does it works ?    parisse:the format is before the #, not after    Grant Vergottini:The # is stripped away by the browser before the request is transmitted    parisse:I only want to use the same syntax, replacing the # by another character so that the server receive everything    Monica Palmirani:it doesn't work veronique    Monica Palmirani:for all the situations that we have    Grant Vergottini:If you just replace the # with a ~, you get a weird URL that isn't conventional    Monica Palmirani:right    Monica Palmirani:Veronique    Grant Vergottini:For some of my customers, they break the document up into a lot of small files, on for each section -- and then save the result in the file system It's easier to support that methodology using {docPath}{expressionPart}/{fragmentPath}.{format}    Grant Vergottini:one for each section    Grant Vergottini:That's why I use / instead of ~, but I'm not insistent on that    Monica Palmirani:please start with WORK    Monica Palmirani:/akn/eu/act/2015/123~main/art_12    Grant Vergottini:With my methodology, I can implement a document broken into pieces using the file system and no resolver -- just a normal web server    parisse:ok, but do you agree on the ~for separate the fragment/portion part from the IRI work _expression_ manifestation minus format ?    parisse:That is very important for me    Monica Palmirani:you are not able to redirect all the languages and all the versions useful for an interval of time Grant if you use only the file system    Grant Vergottini:I'm happy to use the ~ instead of the /    parisse:I can write ~main__art_12    Monica Palmirani:~main/art_12    Grant Vergottini:I understand that Monica, but not all customers require that    parisse:if main is a prefix like art    Grant Vergottini:Some customers need something really simple    Monica Palmirani:We need to serve all    parisse:no I think that you can do it using the same prefix_number (in the case of main, no number is needed)    Grant Vergottini:My methodology is as Fabio proposes, except for the ~, but I'm happy to accept the ~    Fabio Vitali:I believe that "main"  should be optional. ~main/art_12 and ~art_12 should mean exactly the same thing    parisse:so ~main__art_1__para_1    Grant Vergottini:Yes, absolutely. For me it would be ~main/sec_12 == ~sec_12    parisse:@grand yes, really simple    Monica Palmirani:hold on: simple situation is simple we MUST to model also the other situations    parisse:~main__chp_I    Monica Palmirani:nooo    Monica Palmirani:I am forced to use internal id main__chp_I    Monica Palmirani:and It is not necessary    Monica Palmirani:at all    Monica Palmirani:simple solution you said    parisse:so you can use ~chap_I    Grant Vergottini:I would not include main__    Monica Palmirani:what about annex_1__annex__3__main__4    Monica Palmirani:and why do not use /    parisse:attachment_1__attachment_1__art_4    Fabio Vitali:We cannot use / as a separator in fragment ids, but we can and should use it to separate components from fragment ids    Fabio Vitali:attachment_1/attachment_1/art_4    parisse:or attachment_1__attachment_1__amin__art_4    parisse:no attachment is an element that has a prefix_number for eId or wId    parisse:so it is the same mechanism    Monica Palmirani:no    Monica Palmirani:it is not the same    Monica Palmirani:we can use / for composing the URI    Fabio Vitali:No veronique    Fabio Vitali:NO NO NO    Monica Palmirani:granularly    Fabio Vitali:you have a fragment id that is cpmposed of parts separataed by __    Monica Palmirani:and hierarchyacally    Fabio Vitali:But THAT IS THE FRAGMENT ID    Fabio Vitali:then you have the component name    Fabio Vitali:if the component name is part of the fragment id, it is alreay in the fragment id. Otherwise, you CANNOT USE __ to separate component names    parisse:yes, inside an attachment you have only one document.  You can refer to it using his IRI that is in its identification part of the metadata    Fabio Vitali:otherwise we cannot find out where the fragment id starts    parisse:or using the imbrication of element and treat it like any other portion    Fabio Vitali:You are mixing up the organization of an XML Manifestation with the conceptual organization of the _expression_. The fragment ids work at the Work and _expression_ level, too.    Fabio Vitali:They should NOT depend on how you cut the Manifestation in pieces    parisse:not it is not the case as I use the <component> element for that    Monica Palmirani:you have also <portion>    Fabio Vitali:NOOOOO    Fabio Vitali:_expression_-level documents do not contain portions!    Fabio Vitali:This is only a MANIFESTATION-level trick    Fabio Vitali:you cannot use manifestation-level ids for links    Fabio Vitali:NEVER    parisse:I can reference document attached to the "root" document using the mecanism based on the element (cmp_1__[portion inside the document] or using the IRI that is specify at the level of the attachment    Monica Palmirani:this is the id    parisse:what do you do when you use art_1__para_1 ?    parisse:it is exactly the same    Fabio Vitali:NO ID should change if you return a portion of a document or the whole document    Monica Palmirani:One of the main comment of the reviewer Patrick is to divide the D3 in two parts: ID to  move this part in D1 and naming convention of URI to maintain in D3 in order to not make confusion    Monica Palmirani:now we are stuck in this discussion.    parisse:yes, I agree with this, this is the reason I want a character to separe the two parts in the reference    Monica Palmirani:confusing ID with URI    Monica Palmirani:no Veronique    Monica Palmirani:you pretend to use ID in the URI fragment    Monica Palmirani:that are two different levels    Monica Palmirani:components are part of the URI    Monica Palmirani:fragment is linked to ID    parisse:part that is build on id and part that is build on identification part of the metadata    parisse:this is the meaning of the ~ for me    parisse:but any other character is also good    Monica Palmirani:/akn/eu/act/2015/123!main~art_12    Monica Palmirani:what about this    Monica Palmirani:veronique    Monica Palmirani:do you agree?    Monica Palmirani:with main optional    Monica Palmirani: /akn/eu/act/2015/123/fr@2015!main~art_12    Monica Palmirani:Veronique? do you agree since now?    parisse:yes that is ok for me, as it separe the identification metadata from the id based info    parisse:with only exception for the format    Grant Vergottini:And I can use  /akn/eu/act/2015/123/fr@2015~art_12 if I want?    Monica Palmirani:yes    Monica Palmirani:mmmh almost    Monica Palmirani:!    parisse:yes    Monica Palmirani:!~art_12    Fabio Vitali:no    Fabio Vitali:wait    parisse:~art_12 (means, no info for the identification part)    Fabio Vitali:IF we decide to separate compnents from fargment ids, then if there is no component spec, there must be no component spearator    Fabio Vitali:So:    Fabio Vitali:/akn/eu/act/2015/123/fr@2015~art_12    Monica Palmirani:great    Fabio Vitali:/akn/eu/act/2015/123/fr@2015!main~art_12    parisse:~art_12.doc (with the only exception of the format)    Fabio Vitali:/akn/eu/act/2015/123/fr@2015!main/annex_1~art_12    Fabio Vitali:/akn/eu/act/2015/123/fr@2015!annex_1~art_12    Fabio Vitali:etc    Fabio Vitali:main is ALWAYS optional    Monica Palmirani:ok now manifestation    Fabio Vitali:manifestation level features come BEFORE the component, except for format, which is at the end    Grant Vergottini:So much complexity!!!!!!!!    Fabio Vitali:why?    Grant Vergottini:!@^#$@    Fabio Vitali:there is no complexity, there is additional information    Fabio Vitali:the URI does NOT change for documents without components    Grant Vergottini:The problem is trying to explain this to people    Fabio Vitali:Grant: you do not need this complexity until you actually need it.    Fabio Vitali:Then the users themselves will ask for complexity    parisse:I think that it must be mapped to the identification part of the document that is the attachment or the component    Fabio Vitali:I believe we do not need TWO characters, and I believe ~ is enough for both component and fragment    Grant Vergottini:The complexity should only become necessary when the situation arises where you need it. Otherwise, to the user, it appears as unnencessary    Fabio Vitali:but if this cannot be reached, then I am fine with two characters, AS LONG AS format goes to the end    Fabio Vitali:In this proposed situation, complexity does not arise unless you have complex documents    MonicaPalmirani:/akn/eu/act/2015/123/fr@2015!annex_1~art_12.xml  what is the rpoblem with that?    MonicaPalmirani:/akn/eu/act/2015/123/fr@2015~art_12.xml    Monica Palmirani:simple case    Monica Palmirani:nothing more    Grant Vergottini:I'm good with that    Fabio Vitali:I can live with it    parisse:/akn/eu/act/2015/123/fr@2015!annex_1!annex_3~art_12    Monica Palmirani:noooo    Monica Palmirani:/akn/eu/act/2015/123/fr@2015!annex_1/annex_3~art_12    Fabio Vitali:ONE !    Fabio Vitali:If you have a complex hierarchy of components, you use /    parisse:/akn/eu/act/2015/123/fr@2015!annex_1__annex_3~art_12    Fabio Vitali:NOOO    parisse:one syntax, but different separator    Fabio Vitali:/akn/eu/act/2015/123/fr@2015!annex_1/annex_3~art_12    Monica Palmirani:why veronique you have this need ? it seems to me that is a problem of tool    Monica Palmirani:in your syntax I can say  /akn/eu/act/2015/123/fr@2015!annex_1/annex_3 using the natural hierarchy of URI    Fabio Vitali:I need to go now. I vote in favor for the current syntax. Please record this. I am not particularly willing to make any additional compromise    parisse:In the first part of the IRI, the / separe different information ; in the component part, it is used for hierarchisation.  But we have already __ for that    parisse:so for me  /akn/eu/act/2015/123/fr@2015!annex_1__annex_3~art_12 is more clean    Monica Palmirani:current syntax is a big concept Fabio .... what is the current syntax    Monica Palmirani:Veronique you are mixing different syntaxes and using / it is for sure more clear for the user    Grant Vergottini:The __ is only used for assembling an identifier. I don't think if should be used to concatenate identifiers as well.    Monica Palmirani:Right! Grant    Monica Palmirani:so Veronique    Monica Palmirani: /akn/eu/act/2015/123/fr@2015!annex_1/annex_3~art_12    parisse:it is not concatenation, it is hierarchisation    Monica Palmirani:__ is not a hierarchisation    Grant Vergottini:__ is for concatenation, / is for hierarchisation (is that a word?)    Monica Palmirani:please consider that the people want to compose the URI using granular parts /    Monica Palmirani:ok it is clear    Monica Palmirani:I would like to vote a syntax    Monica Palmirani:we MUST go in public review    parisse:for the component ? yes : the annex 3 of the annex 2 is the same as the paragraph 3 of the article 2    Monica Palmirani:soon    Monica Palmirani:no    Monica Palmirani:annex 3 and annex 2 are not like paragraph 3    Monica Palmirani:so if there are no other important objections in term of use-cases  I would like to vote    parisse:or /akn/eu/act/2015/123/fr@2015!annex_1/annex_3~art_12/para_1    Monica Palmirani:MOTION: /akn/eu/act/2015/123/fr@2015!main/annex_1~art_12 with main optional; /akn/eu/act/2015/123/fr@2015!main/annex_1~art_12.xml for manifestation    Grant Vergottini:+1    parisse:+1    Monica Palmirani:+1    parisse:Do you prefer  /akn/eu/act/2015/123/fr@2015!annex_1/annex_3~art_12/para_1 or  /akn/eu/act/2015/123/fr@2015!annex_1__annex_3~art_12__para_1    Grant Vergottini:I think Fabio's vote is implied?    Monica Palmirani:yes    Monica Palmirani:FABIO:+1    Monica Palmirani:APPROVED.    Monica Palmirani:thanks    parisse:Do you prefer  /akn/eu/act/2015/123/fr@2015!annex_1/annex_3~art_12/para_1 or  /akn/eu/act/2015/123/fr@2015!annex_1__annex_3~art_12__para_1    Grant Vergottini:First one    Grant Vergottini:But I must go now. My next meeting starts in 3 minutes    Monica Palmirani:me too    parisse:ok, we replace everywhere __ by /    Monica Palmirani:noo    Monica Palmirani:art_12__para_1    Monica Palmirani:is the internal id    parisse:yes see the answer of grant    Grant Vergottini:__ for internal Id    Monica Palmirani:we need to discusse    parisse:it is not logical    Monica Palmirani:yes it is    Grant Vergottini:Ok. next time. Biut I really must go no    Grant Vergottini:now    Monica Palmirani:because you distinguish component to the internal fragment of the document    Monica Palmirani:next    Monica Palmirani:next is 25    Monica Palmirani:please prepare also the invoices    Monica Palmirani:Grant and Veronique    parisse:you use the same / for hierachisation and separation of information : akn/eu is not the same as annex_1/annex_2    Monica Palmirani:no the annex are component and _para is fragment    Monica Palmirani:Next time 25 nov.    Monica Palmirani:Invoices please    parisse:in the first part, it is separation of information, in the second part, it is hierarchisation of component    Monica Palmirani:bye    Monica Palmirani:we will discuss the next time the art_2__para_1    parisse:can you give more info on the invoice I can do ?    Monica Palmirani:or art_2/para_1    Monica Palmirani:yes by email    parisse:fine    Monica Palmirani:ok thanks    Monica Palmirani:ciao . --------------------------------------------------------------------- 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


  • 4.  Re: [legaldocml] [legaldocml] URGENT: Summary of Naming Convention - D3

    Posted 11-20-2015 09:33
    Dear Veronique, all: On 12/nov/2015, at 10:47, "PARISSE, Véronique" <V.PARISSE@aubay.lu> wrote: > Hello Monica and everybody > > see my comment hereafter > > But before, I have something that I want to add in the specification (but we don't have the time to discussed it yesterday) : > > Akoma Ntoso documents are divided into containers : <preface>, <preamble>, the main content of the document, <conclusions> and <attachments>. > > The <preface>, <preamble> <attachments> and <conclusions> elements are available in all types of documents. > But the "main content of a document" is marked by different kind of elements, depending on the type of the akoma ntoso documents (the content are differently structured). For single document (so, not a document collection), we have: <body>, <mainBody>, <amendmentBody>, <debateBody>, <judgmentBody>. > > I propose that, for all these elements (<body>, <mainBody>, <amendmentBody>, <debateBody>, <judgmentBody>), the Akn naming convention provide a common prefix (for example, « body »), so that we can use it for selecting the whole body of an act > ([ http://www.authority.org]/akn/sl/act/2004-02-13/2~body Yes, I agree, but I believe that these elements already can be identified using their id, there is no need to specify it separately. Just use their id. > For the rest, see my comments below (in blue) > > > Kind regards > > Véronique > > Véronique Parisse > AUBAY Luxembourg > Orco House > 38, Parc d’activités - L-8308 Capellen > Standard : +352 2992501 > Fax : +352 299251 > www.aubay.com > > ________________________________________ > De : legaldocml@lists.oasis-open.org [legaldocml@lists.oasis-open.org] de la part de monica.palmirani [monica.palmirani@unibo.it] > Envoyé : jeudi 12 novembre 2015 8:56 > À : legaldocml@lists.oasis-open.org > Objet : [legaldocml] URGENT: Summary of Naming Convention - D3 > >> Dear all, >> >> thanks for the yesterday TC meeting. >> >> I would like to summarize the decision taken and to consolidate the >> pending issues in order to close the D3 remotely before the next TC >> meeting scheduled Nov. 25th. >> >> We agree on this syntax where (see the Adobe Connect minutes below): >> >> WORK >> /akn/eu/act/2015/123~art_12 - simple situation >> /akn/eu/act/2015/123!main/~art_12 - main is optional > also, I don't think that the / is necessary before the ~ > => /akn/eu/act/2015/123!main~art_12 Correct. There should be NO / before ~ >> /akn/eu/act/2015/123!main/annex_1/annex_5~art_12 - complex situation > or > /akn/eu/act/2015/123!annex_1/annex_5~art_12 (main optional) Correct. >> EXPRESSION >> /akn/eu/act/2015/123/fr@2015~art_12 - simple situation >> /akn/eu/act/2015/123/fr@2015!main/~art_12 - main is optional > /akn/eu/act/2015/123/fr@2015!main~art_12 - main is optional Correct. >> /akn/eu/act/2015/123/fr@2015!main/annex_1/annex_5~art_12 - complex >> situation with components > or > /akn/eu/act/2015/123/fr@2015!annex_1/annex_5~art_12 (main is optional) Correct. >> /akn/eu/act/2015/123/fr@2015/eupub!main/annex_1/annex_5~art_12 - complex >> situation with components and optional metadata of the expression (eupub) > also > /akn/eu/bill/2015/123/fr@ver_final!annex_1/annex_5~art_12 (version "final" of the bill for example when a proposal for an act is adopted by the Commission) Please do NOT use ver_ before the name of the version. It is NOT necessary. /akn/eu/bill/2015/123/fr@final!annex_1/annex_5~art_12 >> MANIFESTATION >> /akn/eu/act/2015/123/fr@2015~art_12.xml - simple situation >> /akn/eu/act/2015/123/fr@2015!main/~art_12.xml - main is optional > /akn/eu/act/2015/123/fr@2015!main~art_12.xml - main is optional Correct >> /akn/eu/act/2015/123/fr@2015!main/annex_1/annex_5~art_12.xml - complex >> situation with components > or > /akn/eu/act/2015/123/fr@2015!annex_1/annex_5~art_12.xml (main optional) Yes. >> /akn/eu/act/2015/123/fr@2015/eupub!main/annex_1/annex_5~art_12.xml- >> complex situation with components and optional metadata of the >> expression (eupub) > /akn/eu/act/2015/123/fr@2015/eupub!annex_1/annex_5~art_12.xml- (main optional) Yes. > Another point > For the fragment/portion, we explain the mapping between the structure and the name used in the reference ("art" for article, "chp" for chapter, name of the element in general, how is make the numbering, ...) The fragment part MUST be the id of the element. Exactly the id. > For the component, we need also to specify where we find the information (which part of metadata correspond to the name of the component (annex, appendix, schedule, ... : is it the name attribute of the akn document element ? is it the metadata subType, other ?), We already have this information: it is the content of the FRBRthis element <xsd:element name="FRBRthis" type="valueType"> <xsd:annotation><xsd:documentation> <type>Element</type> <name>FRBRthis</name> <comment>The element FRBRthis is the metadata property containing the IRI of the specific component of the document in the respective level of the FRBR hierarchy</comment> </xsd:documentation></xsd:annotation> </xsd:element> > We need also to explain how to design a component that has no component name (for example, documents that are attached and not included, like the agreement attached to a decision act). Whether a component is physically attached or not to its main, is a Manifestation-level aspect of the document, not a Work-level or Expression-level characteristic: at the Work or Expression level, the secondary component IS ALWAYS attached to the primary. Therefore this information is only relevant for Manifestation-level references (i.e., src attributes) and not for Work-level and Expression-level references (i.e., href attributes). > Finally, we need also to provide some examples for documentCollection (where you have two type of component : one inside the main body and one inside the attachment). Similarly, this problem is only relevant at the Manifestation level. This means that it is the business of the URI resolver to identify the physical entity where the requested component is placed if a Work-level or Expression-level reference is used. > PENDING ISSUES sub-fragments: > > To clarify my position > > I think that it is dommage that the "/" separator is used for two type of information in the structure of the IRI > - separate different metadata (for example, in "eu/act", the slash separate different type of information ( the country and the type of the act). > - mark the hierarchy (for example, annex_1/appendix_3/attachment_2 ...) To clarify MY position: we need separators. The main separator is the slash "/", but in order to allow optional parameters to appear in the middle of the URI without ambiguity, we need to place different separators strategically here and there. Currently we use FOUR other separators: "@" (or ":") for the version/variant/view, "." for the format, and recently "~" for the fragment and (unnecessarily, but alas...) "!" for the component. We do not need more than these, I think. > On another point, we have another syntax for marking a hierarchy : "__" So why can we not do this : > /akn/eu/act/2015/123/fr@2015/eupub!annex_1__annex_5~art_12__para_1.xml This is a different aspect: the content of the fragment part of the URI (the thing after the "~") MUST BE EXACTLY LIKE the id of the element specified. Not an interpretation, not a conversion: exactly the id. This is important. So, separately, we decided to use "__" to mark the separation between context and element name of ids because all other characters were possible in element numbers. Please note that technically, "__" is a separation between context and element name, not a hierarchical structure: the hierarchicality of the context is a consequence of the fact that some ids are built by juxtaposing the ids of their containing elements to create a full context. "art_12" is a full and complete id without its context, since "tome_3__book_5__chp_1__art_12" is clearly NOT necessary. > Alternatively, if you consider that "__" is not enough esthetic, then we can continue to use the "/" meltingpot, but EVERYWHERE, so > /akn/eu/act/2015/123/fr@2015/eupub!annex_1/annex_5~art_12/para_23/list_2/point_9.xml#art_12/para_23/list_2/point_9 As I said, I believe that the id of the element MUST BE TAKEN AS IT IS, without considerations as its hierarchical level or anything. The id is a single STRING, not a sequence of parts separated by "__" separators. > Consider that it is the syntax of referencing but it can never be considered as the "exact value" of the eId attribute, because, as it was clearly explained yesterday, the "eId" value is completely dependant on the organisation of the manifestation and whether you physically group or not the component manifestations in the same xml document (in fact, eId is constained by the XML syntax and rules on the unicity of the attribute) but of course, the author of a citation has not to take this into account. > So, the naming convention of the reference is more generic and cannot be build on the real organisation of the manifestations. > > Much more, the naming convention of the reference must, for my point of view, be considered as a generic syntax allowing to find information in documents independently of its format: I can use the akn naming convention to reference fragment/portion in pdf or word document (in fact, I do it for referencing portion/fragment in a Formex document that has a completely different syntax for the naming of the text structure. So, I establish a mapping between these two syntaxes). I disagree. As soon as we enter into the inner-document referencing, then necessarily the organization and structure of the manifestation must come into play. We can (and might) assume that, if you are using an Akoma Ntoso naming convention syntax for the document, then you must assume to use the same syntax for the fragments, which are based on the assumption that you are using the XML vocabulary for the content. You may NOT use the XML syntax, but the ids you are using implicitly assume that the inner document references are based on what the XML syntax of the document would be. > So, choice between the / or the __ (my preference is for the "__") but please, adopt it everywhere a hierarchy is expressed (for component hierarchy also), > Of course, we need to align the syntax of the eId accordingly (hoping that "/" is allowed for eId ;-) ). We MUST use "__" whenever the ids use "__" EXACTLY BECAUSE the ids use "__" . In other places we must use other separators, "/" whenever possible and "@", "~", "!" and "." where appropriate. Ciao Fabio -- Fabio Vitali The sage and the fool Dept. of Informatics go to their graves Univ. of Bologna ITALY alike in this respect: phone: +39 051 2094872 both believe the sage to be a fool. e-mail: fabio@cs.unibo.it Where, then, may wisdom be found? http://vitali.web.cs.unibo.it/ Qi, "Neither Yes nor No", The codeless code


  • 5.  RE:[legaldocml] [legaldocml] URGENT: Summary of Naming Convention - D3

    Posted 11-20-2015 14:21
    Hello Fabio, My comment in blue hereafter. Please note that the current use of the separator is ok for me so I don't make more comment on it. Kind regards Véronique Véronique Parisse AUBAY Luxembourg Orco House 38, Parc d’activités - L-8308 Capellen Standard : +352 2992501 Fax : +352 299251 www.aubay.com ________________________________________ De : Fabio Vitali [fvitali@gmail.com] Envoyé : vendredi 20 novembre 2015 10:32 À : PARISSE, Véronique Cc : monica.palmirani; legaldocml@lists.oasis-open.org Objet : Re: [legaldocml] [legaldocml] URGENT: Summary of Naming Convention - D3 Dear Veronique, all: On 12/nov/2015, at 10:47, "PARISSE, Véronique" <V.PARISSE@aubay.lu> wrote: > Hello Monica and everybody > > see my comment hereafter > > But before, I have something that I want to add in the specification (but we don't have the time to discussed it yesterday) : > > Akoma Ntoso documents are divided into containers : <preface>, <preamble>, the main content of the document, <conclusions> and <attachments>. > > The <preface>, <preamble> <attachments> and <conclusions> elements are available in all types of documents. > But the "main content of a document" is marked by different kind of elements, depending on the type of the akoma ntoso documents (the content are differently structured). For single document (so, not a document collection), we have: <body>, <mainBody>, <amendmentBody>, <debateBody>, <judgmentBody>. > > I propose that, for all these elements (<body>, <mainBody>, <amendmentBody>, <debateBody>, <judgmentBody>), the Akn naming convention provide a common prefix (for example, « body »), so that we can use it for selecting the whole body of an act > ([http://www.authority.org]/akn/sl/act/2004-02-13/2~body Yes, I agree, but I believe that these elements already can be identified using their id, there is no need to specify it separately. Just use their id. Yes, I agree, and I propose to use the prefix "body" to compose the eId of <body>, <mainBody>, <amendmentBody>, <debateBody>, <judgmentBody>. > For the rest, see my comments below (in blue) > > > Kind regards > > Véronique > > Véronique Parisse > AUBAY Luxembourg > Orco House > 38, Parc d’activités - L-8308 Capellen > Standard : +352 2992501 > Fax : +352 299251 > www.aubay.com > > ________________________________________ > De : legaldocml@lists.oasis-open.org [legaldocml@lists.oasis-open.org] de la part de monica.palmirani [monica.palmirani@unibo.it] > Envoyé : jeudi 12 novembre 2015 8:56 > À : legaldocml@lists.oasis-open.org > Objet : [legaldocml] URGENT: Summary of Naming Convention - D3 > >> Dear all, >> >> thanks for the yesterday TC meeting. >> >> I would like to summarize the decision taken and to consolidate the >> pending issues in order to close the D3 remotely before the next TC >> meeting scheduled Nov. 25th. >> >> We agree on this syntax where (see the Adobe Connect minutes below): >> >> WORK >> /akn/eu/act/2015/123~art_12 - simple situation >> /akn/eu/act/2015/123!main/~art_12 - main is optional > also, I don't think that the / is necessary before the ~ > => /akn/eu/act/2015/123!main~art_12 Correct. There should be NO / before ~ >> /akn/eu/act/2015/123!main/annex_1/annex_5~art_12 - complex situation > or > /akn/eu/act/2015/123!annex_1/annex_5~art_12 (main optional) Correct. >> _expression_ >> /akn/eu/act/2015/123/fr@2015~art_12 - simple situation >> /akn/eu/act/2015/123/fr@2015!main/~art_12 - main is optional > /akn/eu/act/2015/123/fr@2015!main~art_12 - main is optional Correct. >> /akn/eu/act/2015/123/fr@2015!main/annex_1/annex_5~art_12 - complex >> situation with components > or > /akn/eu/act/2015/123/fr@2015!annex_1/annex_5~art_12 (main is optional) Correct. >> /akn/eu/act/2015/123/fr@2015/eupub!main/annex_1/annex_5~art_12 - complex >> situation with components and optional metadata of the _expression_ (eupub) > also > /akn/eu/bill/2015/123/fr@ver_final!annex_1/annex_5~art_12 (version "final" of the bill for example when a proposal for an act is adopted by the Commission) Please do NOT use ver_ before the name of the version. It is NOT necessary. I think that it is necessary because at the same location, you can have the stage, that it also a string.  So it is impossible to differentiate the version from the stage and.   The "ver_" add a better lisibility on the reference, so please, I would like to maintain it. /akn/eu/bill/2015/123/fr@final!annex_1/annex_5~art_12? >> MANIFESTATION >> /akn/eu/act/2015/123/fr@2015~art_12.xml - simple situation >> /akn/eu/act/2015/123/fr@2015!main/~art_12.xml - main is optional > /akn/eu/act/2015/123/fr@2015!main~art_12.xml - main is optional Correct >> /akn/eu/act/2015/123/fr@2015!main/annex_1/annex_5~art_12.xml - complex >> situation with components > or > /akn/eu/act/2015/123/fr@2015!annex_1/annex_5~art_12.xml (main optional) Yes. >> /akn/eu/act/2015/123/fr@2015/eupub!main/annex_1/annex_5~art_12.xml- >> complex situation with components and optional metadata of the >> _expression_ (eupub) > /akn/eu/act/2015/123/fr@2015/eupub!annex_1/annex_5~art_12.xml- (main optional) Yes. > Another point > For the fragment/portion, we explain the mapping between the structure and the name used in the reference ("art" for article, "chp" for chapter, name of the element in general, how is make the numbering, ...) The fragment part MUST be the id of the element. Exactly the id. The eId is depending on XML constraint (so, for example, whether you put or not the content of the subdocument.  That is an implementation, so a Manifestation information).  The author of the reference has not necesseraly the knowledge of this information He build the refere nce on the logical structure . For example, <documentCollection> <collectionBody>     <act>     </act>     <d oc>     </doc> </collectionBody> </documentCollection> The eId inside the act and the doc must be unique inside the documentCollection ; that is not the case with the following manifestation : <documentCollection>     <act>     </act>     <d oc>     </doc> </collectionBody> </documentCollection> <component>    <act>    </act> </component> <component>    <doc>    </doc> </component> When you make a reference to a work or an _expression_, it is the job of the resolver to find the correct manifestation fragment.  This can include, eventually, a mapping of the fragment/portion because the author of the legal reference has nothing to do we the xml stuff. > For the component, we need also to specify where we find the information (which part of metadata correspond to the name of the component (annex, appendix, schedule, ... : is it the name attribute of the akn document element ? is it the metadata subType, other ?), We already have this information: it is the content of the FRBRthis element <xsd:element name="FRBRthis" type="valueType"> <xsd:annotation><xsd:documentation> <type>Element</type> <name>FRBRthis</name> <comment>The element FRBRthis is the metadata property containing the IRI of the specific component of the document in the respective level of the FRBR hierarchy</comment> </xsd:documentation></xsd:annotation> </xsd:element> Yes, but again, there is a need to specify how the IRI of a work that is annexed to another work is specified : for the main document, the specification is "the element name, a subtype, the author, ..." And for the uri of a document that is annexed ?  If we do the same algorithm for the IRI of a document annexed, it will never be taken into account for the reference as we reference it relative ly to the main document as something that is annexed. (<iri-main-document>![fragment-name]_1) - regarding the ![fragment-name]_1 part of the reference, where is the corresponding information in the metadata of the document annexed : how to know if [fragment-name] is "fragment" or "appendice" or ... ? ( because the reference can be <iri-main-document>!annex_1 or <iri-main-document>!appendix_1 or <iri-main-document>!schedule_1) for me, "annex"-"appendix"-"schedule" can be - the attribute "name" of the document element or - the attribute type (or subtype) in the identification/work part of the metadata.  But I think that it is important to specify it. > We need also to explain how to design a component that has no component name (for example, documents that are attached and not included, like the agreement attached to a decision act). Whether a component is physically attached or not to its main, is a Manifestation-level aspect of the document, not a Work-level or _expression_-level characteristic: at the Work or _expression_ level, the secondary component IS ALWAYS attached to the primary. Therefore this information is only relevant for Manifestation-level references (i.e., src attributes) and not for Work-level and _expression_-level references (i.e., href attributes). So , we reference an agreement that is attached to the act that adopt s it, as  "<iri-adoptionAct>!annex_1"  and the annex 1 of the agreement as " <iri-adoptionAct>!annex_1/annex_1" ? > Finally, we need also to provide some examples for documentCollection (where you have two type of component : one inside the main body and one inside the attachment). Similarly, this problem is only relevant at the Manifestation level. This means that it is the business of the URI resolver to identify the physical entity where the requested component is placed if a Work-level or _expression_-level reference is used. Then I don't understand the meaning of the identification/FRBRwork and identification/FRBRexpression part of metadata and why the spec says that the IRI of the manifestation is build on the IRI of the _expression_ that is build on the IRI of the work > PENDING ISSUES sub-fragments: > > To clarify my position > > I think that it is dommage that the "/" separator is used for two type of information in the structure of the IRI > - separate different metadata (for example, in "eu/act", the slash separate different type of information ( the country and the type of the act). > - mark the hierarchy (for example, annex_1/appendix_3/attachment_2 ...) To clarify MY position: we need separators. The main separator is the slash "/", but in order to allow optional parameters to appear in the middle of the URI without ambiguity, we need to place different separators strategically here and there. Currently we use FOUR other separators: "@" (or ":") for the version/variant/view, "." for the format, and recently "~" for the fragment and (unnecessarily, but alas...) "!" for the component. We do not need more than these, I think. > On another point, we have another syntax for marking a hierarchy : "__" So why can we not do this : > /akn/eu/act/2015/123/fr@2015/eupub!annex_1__annex_5~art_12__para_1.xml This is a different aspect: the content of the fragment part of the URI (the thing after the "~") MUST BE EXACTLY LIKE the id of the element specified. Not an interpretation, not a conversion: exactly the id. This is important. This is impossible when you make reference relative to a work or an _expression_, I think.  The exact content of id is purely related to xml constraint.  You cannot build a legal reference with t aken into account the XML unicity, because a reference to a work or an _expression_ can in fact reference different manifestation, depending on the time it is activated .   So it is a business of the resolver to make the mapping between the fragment specification of the reference and the eId value in some manifestation(s) So, separately, we decided to use "__" to mark the separation between context and element name of ids because all other characters were possible in element numbers. Please note that technically, "__" is a separation between context and element name, not a hierarchical structure: the hierarchicality of the context is a consequence of the fact that some ids are built by juxtaposing the ids of their containing elements to create a full context. "art_12" is a full and complete id without its context, since "tome_3__book_5__chp_1__art_12" is clearly NOT necessary. > Alternatively, if you consider that "__" is not enough esthetic, then we can continue to use the "/" meltingpot, but EVERYWHERE, so > /akn/eu/act/2015/123/fr@2015/eupub!annex_1/annex_5~art_12/para_23/list_2/point_9.xml#art_12/para_23/list_2/point_9 As I said, I believe that the id of the element MUST BE TAKEN AS IT IS, without considerations as its hierarchical level or anything. The id is a single STRING, not a sequence of parts separated by "__" separators. I agree on the the current syntax > Consider that it is the syntax of referencing but it can never be considered as the "exact value" of the eId attribute, because, as it was clearly explained yesterday, the "eId" value is completely dependant on the organisation of the manifestation and whether you physically group or not the component manifestations in the same xml document (in fact, eId is constained by the XML syntax and rules on the unicity of the attribute) but of course, the author of a citation has not to take this into account. > So, the naming convention of the reference is more generic and cannot be build on the real organisation of the manifestations. > > Much more, the naming convention of the reference must, for my point of view, be considered as a generic syntax allowing to find information in documents independently of its format: I can use the akn naming convention to reference fragment/portion in pdf or word document (in fact, I do it for referencing portion/fragment in a Formex document that has a completely different syntax for the naming of the text structure. So, I establish a mapping between these two syntaxes). I disagree. As soon as we enter into the inner-document referencing, then necessarily the organization and structure of the manifestation must come into play. We can (and might) assume that, if you are using an Akoma Ntoso naming convention syntax for the document, then you must assume to use the same syntax for the fragments, which are based on the assumption that you are using the XML vocabulary for the content. You may NOT use the XML syntax, but the ids you are using implicitly assume that the inner document references are based on what the XML syntax of the document would be. It is impossible to specify a work or an _expression_ reference that take into account the Manifestation structure : a legal reference dont specify a specific manifestation and so, does not know how the manifestation is done. A reference must also remain valid even if there is a redefinition of the structure of the manifestations. This is the reason to transmit the fragment/portion to the server .  Th is is the job of the res olver to make the mapping between the specification of the fragment / port ion in a reference and the eId of the corresponding element, taken in to account the structure of the Manifestation selected. > So, choice between the / or the __ (my preference is for the "__") but please, adopt it everywhere a hierarchy is expressed (for component hierarchy also), > Of course, we need to align the syntax of the eId accordingly (hoping that "/" is allowed for eId ;-) ). We MUST use "__" whenever the ids use "__" EXACTLY BECAUSE the ids use "__" . In other places we must use other separators, "/" whenever possible and "@", "~", "!" and "." where appropriate. Ciao Fabio -- Fabio Vitali The sage and the fool Dept. of Informatics go to their graves Univ. of Bologna ITALY alike in this respect: phone: +39 051 2094872 both believe the sage to be a fool. e-mail: fabio@cs.unibo.it Where, then, may wisdom be found? http://vitali.web.cs.unibo.it/ Qi, "Neither Yes nor No", The codeless code


  • 6.  RE:[legaldocml] [legaldocml] URGENT: Summary of Naming Convention - D3

    Posted 11-20-2015 14:47
    For the part relative to documentCollection, the correct text would be The eId is depending on XML constraint (so, for example, whether you put or not the content of the subdocument in the docu mentCollection, so me value for eId is or not acceptable) .  That is an implementation, so a Manifestation information.  The author of the reference has not necessary the knowledge of this information He build the refere nce on the logical structure . For example, <documentCollection> <collectionBody>     <act>     </act>     <d oc>     </doc> </collectionBody> </documentCollection> The eId inside the act and the doc must be unique for the documentCollection ; that is not the case with the following manifestation : <documentCollection> <collectionBody>       <d ocumentRef >     < d ocumentRef > </collectionBody> </documentCollection> <component>    <act>    </act> </component> <component>    <doc>    </doc> </component> Véronique Parisse AUBAY Luxembourg Orco House 38, Parc d’activités - L-8308 Capellen Standard : +352 2992501 Fax : +352 299251 www.aubay.com De : legaldocml@lists.oasis-open.org [legaldocml@lists.oasis-open.org] de la part de PARISSE, Véronique [V.PARISSE@aubay.lu] Envoyé : vendredi 20 novembre 2015 15:21 À : Fabio Vitali Cc : monica.palmirani; legaldocml@lists.oasis-open.org Objet : [legaldocml] RE:[legaldocml] [legaldocml] URGENT: Summary of Naming Convention - D3 Hello Fabio, My comment in blue hereafter. Please note that the current use of the separator is ok for me so I don't make more comment on it. Kind regards Véronique Véronique Parisse AUBAY Luxembourg Orco House 38, Parc d’activités - L-8308 Capellen Standard : +352 2992501 Fax : +352 299251 www.aubay.com ________________________________________ De : Fabio Vitali [fvitali@gmail.com] Envoyé : vendredi 20 novembre 2015 10:32 À : PARISSE, Véronique Cc : monica.palmirani; legaldocml@lists.oasis-open.org Objet : Re: [legaldocml] [legaldocml] URGENT: Summary of Naming Convention - D3 Dear Veronique, all: On 12/nov/2015, at 10:47, "PARISSE, Véronique" <V.PARISSE@aubay.lu> wrote: > Hello Monica and everybody > > see my comment hereafter > > But before, I have something that I want to add in the specification (but we don't have the time to discussed it yesterday) : > > Akoma Ntoso documents are divided into containers : <preface>, <preamble>, the main content of the document, <conclusions> and <attachments>. > > The <preface>, <preamble> <attachments> and <conclusions> elements are available in all types of documents. > But the "main content of a document" is marked by different kind of elements, depending on the type of the akoma ntoso documents (the content are differently structured). For single document (so, not a document collection), we have: <body>, <mainBody>, <amendmentBody>, <debateBody>, <judgmentBody>. > > I propose that, for all these elements (<body>, <mainBody>, <amendmentBody>, <debateBody>, <judgmentBody>), the Akn naming convention provide a common prefix (for example, « body »), so that we can use it for selecting the whole body of an act > ([http://www.authority.org]/akn/sl/act/2004-02-13/2~body Yes, I agree, but I believe that these elements already can be identified using their id, there is no need to specify it separately. Just use their id. Yes, I agree, and I propose to use the prefix "body" to compose the eId of <body>, <mainBody>, <amendmentBody>, <debateBody>, <judgmentBody>. > For the rest, see my comments below (in blue) > > > Kind regards > > Véronique > > Véronique Parisse > AUBAY Luxembourg > Orco House > 38, Parc d’activités - L-8308 Capellen > Standard : +352 2992501 > Fax : +352 299251 > www.aubay.com > > ________________________________________ > De : legaldocml@lists.oasis-open.org [legaldocml@lists.oasis-open.org] de la part de monica.palmirani [monica.palmirani@unibo.it] > Envoyé : jeudi 12 novembre 2015 8:56 > À : legaldocml@lists.oasis-open.org > Objet : [legaldocml] URGENT: Summary of Naming Convention - D3 > >> Dear all, >> >> thanks for the yesterday TC meeting. >> >> I would like to summarize the decision taken and to consolidate the >> pending issues in order to close the D3 remotely before the next TC >> meeting scheduled Nov. 25th. >> >> We agree on this syntax where (see the Adobe Connect minutes below): >> >> WORK >> /akn/eu/act/2015/123~art_12 - simple situation >> /akn/eu/act/2015/123!main/~art_12 - main is optional > also, I don't think that the / is necessary before the ~ > => /akn/eu/act/2015/123!main~art_12 Correct. There should be NO / before ~ >> /akn/eu/act/2015/123!main/annex_1/annex_5~art_12 - complex situation > or > /akn/eu/act/2015/123!annex_1/annex_5~art_12 (main optional) Correct. >> _expression_ >> /akn/eu/act/2015/123/fr@2015~art_12 - simple situation >> /akn/eu/act/2015/123/fr@2015!main/~art_12 - main is optional > /akn/eu/act/2015/123/fr@2015!main~art_12 - main is optional Correct. >> /akn/eu/act/2015/123/fr@2015!main/annex_1/annex_5~art_12 - complex >> situation with components > or > /akn/eu/act/2015/123/fr@2015!annex_1/annex_5~art_12 (main is optional) Correct. >> /akn/eu/act/2015/123/fr@2015/eupub!main/annex_1/annex_5~art_12 - complex >> situation with components and optional metadata of the _expression_ (eupub) > also > /akn/eu/bill/2015/123/fr@ver_final!annex_1/annex_5~art_12 (version "final" of the bill for example when a proposal for an act is adopted by the Commission) Please do NOT use ver_ before the name of the version. It is NOT necessary. I think that it is necessary because at the same location, you can have the stage, that it also a string.  So it is impossible to differentiate the version from the stage and.   The "ver_" add a better lisibility on the reference, so please, I would like to maintain it. /akn/eu/bill/2015/123/fr@final!annex_1/annex_5~art_12? >> MANIFESTATION >> /akn/eu/act/2015/123/fr@2015~art_12.xml - simple situation >> /akn/eu/act/2015/123/fr@2015!main/~art_12.xml - main is optional > /akn/eu/act/2015/123/fr@2015!main~art_12.xml - main is optional Correct >> /akn/eu/act/2015/123/fr@2015!main/annex_1/annex_5~art_12.xml - complex >> situation with components > or > /akn/eu/act/2015/123/fr@2015!annex_1/annex_5~art_12.xml (main optional) Yes. >> /akn/eu/act/2015/123/fr@2015/eupub!main/annex_1/annex_5~art_12.xml- >> complex situation with components and optional metadata of the >> _expression_ (eupub) > /akn/eu/act/2015/123/fr@2015/eupub!annex_1/annex_5~art_12.xml- (main optional) Yes. > Another point > For the fragment/portion, we explain the mapping between the structure and the name used in the reference ("art" for article, "chp" for chapter, name of the element in general, how is make the numbering, ...) The fragment part MUST be the id of the element. Exactly the id. The eId is depending on XML constraint (so, for example, whether you put or not the content of the subdocument.  That is an implementation, so a Manifestation information).  The author of the reference has not necesseraly the knowledge of this information He build the refere nce on the logical structure . For example, <documentCollection> <collectionBody>     <act>     </act>     <d oc>     </doc> </collectionBody> </documentCollection> The eId inside the act and the doc must be unique inside the documentCollection ; that is not the case with the following manifestation : <documentCollection>     <act>     </act>     <d oc>     </doc> </collectionBody> </documentCollection> <component>    <act>    </act> </component> <component>    <doc>    </doc> </component> When you make a reference to a work or an _expression_, it is the job of the resolver to find the correct manifestation fragment.  This can include, eventually, a mapping of the fragment/portion because the author of the legal reference has nothing to do we the xml stuff. > For the component, we need also to specify where we find the information (which part of metadata correspond to the name of the component (annex, appendix, schedule, ... : is it the name attribute of the akn document element ? is it the metadata subType, other ?), We already have this information: it is the content of the FRBRthis element <xsd:element name="FRBRthis" type="valueType"> <xsd:annotation><xsd:documentation> <type>Element</type> <name>FRBRthis</name> <comment>The element FRBRthis is the metadata property containing the IRI of the specific component of the document in the respective level of the FRBR hierarchy</comment> </xsd:documentation></xsd:annotation> </xsd:element> Yes, but again, there is a need to specify how the IRI of a work that is annexed to another work is specified : for the main document, the specification is "the element name, a subtype, the author, ..." And for the uri of a document that is annexed ?  If we do the same algorithm for the IRI of a document annexed, it will never be taken into account for the reference as we reference it relative ly to the main document as something that is annexed. (<iri-main-document>![fragment-name]_1) - regarding the ![fragment-name]_1 part of the reference, where is the corresponding information in the metadata of the document annexed : how to know if [fragment-name] is "fragment" or "appendice" or ... ? ( because the reference can be <iri-main-document>!annex_1 or <iri-main-document>!appendix_1 or <iri-main-document>!schedule_1) for me, "annex"-"appendix"-"schedule" can be - the attribute "name" of the document element or - the attribute type (or subtype) in the identification/work part of the metadata.  But I think that it is important to specify it. > We need also to explain how to design a component that has no component name (for example, documents that are attached and not included, like the agreement attached to a decision act). Whether a component is physically attached or not to its main, is a Manifestation-level aspect of the document, not a Work-level or _expression_-level characteristic: at the Work or _expression_ level, the secondary component IS ALWAYS attached to the primary. Therefore this information is only relevant for Manifestation-level references (i.e., src attributes) and not for Work-level and _expression_-level references (i.e., href attributes). So , we reference an agreement that is attached to the act that adopt s it, as  "<iri-adoptionAct>!annex_1"  and the annex 1 of the agreement as " <iri-adoptionAct>!annex_1/annex_1" ? > Finally, we need also to provide some examples for documentCollection (where you have two type of component : one inside the main body and one inside the attachment). Similarly, this problem is only relevant at the Manifestation level. This means that it is the business of the URI resolver to identify the physical entity where the requested component is placed if a Work-level or _expression_-level reference is used. Then I don't understand the meaning of the identification/FRBRwork and identification/FRBRexpression part of metadata and why the spec says that the IRI of the manifestation is build on the IRI of the _expression_ that is build on the IRI of the work > PENDING ISSUES sub-fragments: > > To clarify my position > > I think that it is dommage that the "/" separator is used for two type of information in the structure of the IRI > - separate different metadata (for example, in "eu/act", the slash separate different type of information ( the country and the type of the act). > - mark the hierarchy (for example, annex_1/appendix_3/attachment_2 ...) To clarify MY position: we need separators. The main separator is the slash "/", but in order to allow optional parameters to appear in the middle of the URI without ambiguity, we need to place different separators strategically here and there. Currently we use FOUR other separators: "@" (or ":") for the version/variant/view, "." for the format, and recently "~" for the fragment and (unnecessarily, but alas...) "!" for the component. We do not need more than these, I think. > On another point, we have another syntax for marking a hierarchy : "__" So why can we not do this : > /akn/eu/act/2015/123/fr@2015/eupub!annex_1__annex_5~art_12__para_1.xml This is a different aspect: the content of the fragment part of the URI (the thing after the "~") MUST BE EXACTLY LIKE the id of the element specified. Not an interpretation, not a conversion: exactly the id. This is important. This is impossible when you make reference relative to a work or an _expression_, I think.  The exact content of id is purely related to xml constraint.  You cannot build a legal reference with t aken into account the XML unicity, because a reference to a work or an _expression_ can in fact reference different manifestation, depending on the time it is activated .   So it is a business of the resolver to make the mapping between the fragment specification of the reference and the eId value in some manifestation(s) So, separately, we decided to use "__" to mark the separation between context and element name of ids because all other characters were possible in element numbers. Please note that technically, "__" is a separation between context and element name, not a hierarchical structure: the hierarchicality of the context is a consequence of the fact that some ids are built by juxtaposing the ids of their containing elements to create a full context. "art_12" is a full and complete id without its context, since "tome_3__book_5__chp_1__art_12" is clearly NOT necessary. > Alternatively, if you consider that "__" is not enough esthetic, then we can continue to use the "/" meltingpot, but EVERYWHERE, so > /akn/eu/act/2015/123/fr@2015/eupub!annex_1/annex_5~art_12/para_23/list_2/point_9.xml#art_12/para_23/list_2/point_9 As I said, I believe that the id of the element MUST BE TAKEN AS IT IS, without considerations as its hierarchical level or anything. The id is a single STRING, not a sequence of parts separated by "__" separators. I agree on the the current syntax > Consider that it is the syntax of referencing but it can never be considered as the "exact value" of the eId attribute, because, as it was clearly explained yesterday, the "eId" value is completely dependant on the organisation of the manifestation and whether you physically group or not the component manifestations in the same xml document (in fact, eId is constained by the XML syntax and rules on the unicity of the attribute) but of course, the author of a citation has not to take this into account. > So, the naming convention of the reference is more generic and cannot be build on the real organisation of the manifestations. > > Much more, the naming convention of the reference must, for my point of view, be considered as a generic syntax allowing to find information in documents independently of its format: I can use the akn naming convention to reference fragment/portion in pdf or word document (in fact, I do it for referencing portion/fragment in a Formex document that has a completely different syntax for the naming of the text structure. So, I establish a mapping between these two syntaxes). I disagree. As soon as we enter into the inner-document referencing, then necessarily the organization and structure of the manifestation must come into play. We can (and might) assume that, if you are using an Akoma Ntoso naming convention syntax for the document, then you must assume to use the same syntax for the fragments, which are based on the assumption that you are using the XML vocabulary for the content. You may NOT use the XML syntax, but the ids you are using implicitly assume that the inner document references are based on what the XML syntax of the document would be. It is impossible to specify a work or an _expression_ reference that take into account the Manifestation structure : a legal reference dont specify a specific manifestation and so, does not know how the manifestation is done. A reference must also remain valid even if there is a redefinition of the structure of the manifestations. This is the reason to transmit the fragment/portion to the server .  Th is is the job of the res olver to make the mapping between the specification of the fragment / port ion in a reference and the eId of the corresponding element, taken in to account the structure of the Manifestation selected. > So, choice between the / or the __ (my preference is for the "__") but please, adopt it everywhere a hierarchy is expressed (for component hierarchy also), > Of course, we need to align the syntax of the eId accordingly (hoping that "/" is allowed for eId ;-) ). We MUST use "__" whenever the ids use "__" EXACTLY BECAUSE the ids use "__" . In other places we must use other separators, "/" whenever possible and "@", "~", "!" and "." where appropriate. Ciao Fabio -- Fabio Vitali The sage and the fool Dept. of Informatics go to their graves Univ. of Bologna ITALY alike in this respect: phone: +39 051 2094872 both believe the sage to be a fool. e-mail: fabio@cs.unibo.it Where, then, may wisdom be found? http://vitali.web.cs.unibo.it/ Qi, "Neither Yes nor No", The codeless code


  • 7.  Re: [legaldocml] [legaldocml] URGENT: Summary of Naming Convention - D3

    Posted 11-22-2015 21:54
    On 20/nov/2015, at 15:21, PARISSE, Véronique <V.PARISSE@aubay.lu> wrote: > Hello Fabio, > > My comment in blue hereafter. > > Please note that the current use of the separator is ok for me so I don't make more comment on it. > > > Kind regards > > Véronique > > > Véronique Parisse > AUBAY Luxembourg > Orco House > 38, Parc d’activités - L-8308 Capellen > Standard : +352 2992501 > Fax : +352 299251 > www.aubay.com > > ________________________________________ > De : Fabio Vitali [fvitali@gmail.com] > Envoyé : vendredi 20 novembre 2015 10:32 > À : PARISSE, Véronique > Cc : monica.palmirani; legaldocml@lists.oasis-open.org > Objet : Re: [legaldocml] [legaldocml] URGENT: Summary of Naming Convention - D3 > > Dear Veronique, all: > > On 12/nov/2015, at 10:47, "PARISSE, Véronique" <V.PARISSE@aubay.lu> wrote: > > > Hello Monica and everybody > > > > see my comment hereafter > > > > But before, I have something that I want to add in the specification (but we don't have the time to discussed it yesterday) : > > > > Akoma Ntoso documents are divided into containers : <preface>, <preamble>, the main content of the document, <conclusions> and <attachments>. > > > > The <preface>, <preamble> <attachments> and <conclusions> elements are available in all types of documents. > > But the "main content of a document" is marked by different kind of elements, depending on the type of the akoma ntoso documents (the content are differently structured). For single document (so, not a document collection), we have: <body>, <mainBody>, <amendmentBody>, <debateBody>, <judgmentBody>. > > > > I propose that, for all these elements (<body>, <mainBody>, <amendmentBody>, <debateBody>, <judgmentBody>), the Akn naming convention provide a common prefix (for example, « body »), so that we can use it for selecting the whole body of an act > > ([ http://www.authority.org]/akn/sl/act/2004-02-13/2~body > > Yes, I agree, but I believe that these elements already can be identified using their id, there is no need to specify it separately. Just use their id. > > Yes, I agree, and I propose to use the prefix "body" to compose the eId of <body>, <mainBody>, <amendmentBody>, <debateBody>, <judgmentBody>. Yes I think it is a good idea. >> >> /akn/eu/act/2015/123/fr@2015/eupub!main/annex_1/annex_5~art_12 - complex >> >> situation with components and optional metadata of the expression (eupub) >> > also >> > /akn/eu/bill/2015/123/fr@ver_final!annex_1/annex_5~art_12 (version "final" of the bill for example when a proposal for an act is adopted by the Commission) >> >> Please do NOT use ver_ before the name of the version. It is NOT necessary. >> > I think that it is necessary because at the same location, you can have the stage, that it also a string. So it is impossible to differentiate the version from the stage and. The "ver_" add a better lisibility on the reference, so please, I would like to maintain it. Stage and version are thing specific of certain document types. If you have both version names (as opposed to version dates) and stage names, and there is no simple way to distinguish between stage and version names then by all means distinguish them in any way you feel appropriate, including adding a "ver_" in front. I do NOT believe this should be specified in the standard, that's all. >> > Another point >> > For the fragment/portion, we explain the mapping between the structure and the name used in the reference ("art" for article, "chp" for chapter, name of the element in general, how is make the numbering, ...) >> >> The fragment part MUST be the id of the element. Exactly the id. >> > The eId is depending on XML constraint (so, for example, whether you put or not the content of the subdocument. That is an implementation, so a Manifestation information). The author of the reference has not necesseraly the knowledge of this information > He build the reference on the logical structure. > > For example, > <documentCollection> > <collectionBody> > <act> > </act> > <doc> > </doc> > </collectionBody> > </documentCollection> > The eId inside the act and the doc must be unique inside the documentCollection; > > that is not the case with the following manifestation : > <documentCollection> > <act> > </act> > <doc> > </doc> > </collectionBody> > </documentCollection> > <component> > <act> > </act> > </component> > <component> > <doc> > </doc> > </component> > > When you make a reference to a work or an expression, it is the job of the resolver to find the correct manifestation fragment. This can include, eventually, a mapping of the fragment/portion because the author of the legal reference has nothing to do we the xml stuff. I totally disagree. Ids must be completely independent of the internal organization of the manifestation. In the situations that you mention, the ids MUST be the same. If you decide to place the components at the end of the collectionBody, rather than in-flow, then the ids must match anyway and must be the ones that you would have used if the components were in-flow. There are other situations in which you may have this problem. For instance, if you have a document collection X that contains documents A and B, and in document C you have a reference to art_12 of document A. He/she may write it as either a reference to X#doc_a__art_12 (or X~doc_a__art_12), or to A#art_12 (or A~art_12). They are NOT the same reference. The first one is a reference pointing to a specific location inside a composite document. The second is a reference to a specific location inside an individual document, which the RESOLVER (and ONLY the resolver) can map to a component within a composite document. In both cases the author of the reference does NOT know the physical organization of the manifestations, and it is the job of the resolver to take care of these situations. >> > For the component, we need also to specify where we find the information (which part of metadata correspond to the name of the component (annex, appendix, schedule, ... : is it the name attribute of the akn document element ? is it the metadata subType, other ?), >> >> We already have this information: it is the content of the FRBRthis element >> >> <xsd:element name="FRBRthis" type="valueType"> >> <xsd:annotation><xsd:documentation> >> <type>Element</type> >> <name>FRBRthis</name> >> <comment>The element FRBRthis is the metadata property containing the IRI of the specific component of the document in the respective level of the FRBR hierarchy</comment> >> </xsd:documentation></xsd:annotation> >> </xsd:element> >> > Yes, but again, there is a need to specify how the IRI of a work that is annexed to another work is specified : for the main document, the specification is "the element name, a subtype, the author, ..." > And for the uri of a document that is annexed ? I do not understand. The IRI of an annex is given by the IRI of the containing document plus a string identifying the annex in the component fragment (after the !), and this string can be determined (with some leeway) from the annex name. This is the IRI that you specify in the FRBRthis element, which is different from the IRI that you specify in the FRBRuri, which is "the IRI of the whole document in the respective level of the FRBR hierarchy ". What is not clear here? > If we do the same algorithm for the IRI of a document annexed, it will never be taken into account for the reference as we reference itrelatively to the main document as something that is annexed. > (<iri-main-document>![fragment-name]_1) Again: if you make a reference to a document as an annex of another document, it is a DIFFERENT reference than one to the document alone, EVEN IF they end up being the same document. The RESOLVER, and ONLY the resolver, can know this. > - regarding the ![fragment-name]_1 part of the reference, where is the corresponding information in the metadata of the document annexed : how to know if [fragment-name] is "fragment" or "appendice" or ... ? > (because the reference can be <iri-main-document>!annex_1 or <iri-main-document>!appendix_1 or <iri-main-document>!schedule_1) > > for me, "annex"-"appendix"-"schedule" can be > - the attribute "name" of the document element or > - the attribute type (or subtype) in the identification/work part of the metadata. I do not think that we should standardize this. The name of the attachment is heavily dependent on the local tradition. It may be the <docTitle> of the contained document, it may be the <heading> of the <attachment> element of the containing document, it may be the name attribute of the document type, etc. It depends. There is NO RIGHT WAY. Local traditions shall imposed which to use. >> > We need also to explain how to design a component that has no component name (for example, documents that are attached and not included, like the agreement attached to a decision act). >> >> Whether a component is physically attached or not to its main, is a Manifestation-level aspect of the document, not a Work-level or Expression-level characteristic: at the Work or Expression level, the secondary component IS ALWAYS attached to the primary. >> >> Therefore this information is only relevant for Manifestation-level references (i.e., src attributes) and not for Work-level and Expression-level references (i.e., href attributes). >> > So, we reference an agreement that is attached to the act that adopts it, as "<iri-adoptionAct>!annex_1" and the annex 1 of the agreement as "<iri-adoptionAct>!annex_1/annex_1" ? Possibly. Or even better: the agreement that is attached to the act that adopts it is referenced as "<iri-adoptionAct>!agreement" and the annex 1 of the agreement as "<iri-adoptionAct>!agreement/annex_1", because "agreement" ends up being the traditional name for that annex. It is a locally dependent decision. >> > Finally, we need also to provide some examples for documentCollection (where you have two type of component : one inside the main body and one inside the attachment). >> >> Similarly, this problem is only relevant at the Manifestation level. This means that it is the business of the URI resolver to identify the physical entity where the requested component is placed if a Work-level or Expression-level reference is used. >> > Then I don't understand the meaning of the identification/FRBRwork and identification/FRBRexpression part of metadata and why the spec says that the IRI of the manifestation is build on the IRI of the expression that is build on the IRI of the work Because a document that is contained in a composite work is NOT the same work that it would be as an individual document. It may have an ALIAS, but if you reference to a composite document, you are making a reference to the composite document, not to its individual components. And, of course, ALL expressions and manifestations exist of specific works. >> > PENDING ISSUES sub-fragments: >> > >> > To clarify my position >> > >> > I think that it is dommage that the "/" separator is used for two type of information in the structure of the IRI >> > - separate different metadata (for example, in "eu/act", the slash separate different type of information ( the country and the type of the act). >> > - mark the hierarchy (for example, annex_1/appendix_3/attachment_2 ...) >> >> To clarify MY position: we need separators. The main separator is the slash "/", but in order to allow optional parameters to appear in the middle of the URI without ambiguity, we need to place different separators strategically here and there. Currently we use FOUR other separators: "@" (or ":") for the version/variant/view, "." for the format, and recently "~" for the fragment and (unnecessarily, but alas...) "!" for the component. We do not need more than these, I think. >> >> > On another point, we have another syntax for marking a hierarchy : "__" So why can we not do this : >> > /akn/eu/act/2015/123/fr@2015/eupub!annex_1__annex_5~art_12__para_1.xml >> >> This is a different aspect: the content of the fragment part of the URI (the thing after the "~") MUST BE EXACTLY LIKE the id of the element specified. Not an interpretation, not a conversion: exactly the id. This is important. >> > This is impossible when you make reference relative to a work or an expression, I think. The exact content of id is purely related to xml constraint. You cannot build a legal reference with taken into account the XML unicity, because a reference to a work or an expression can in fact reference different manifestation, depending on the time it is activated. > So it is a business of the resolver to make the mapping between the fragment specification of the reference and the eId value in some manifestation(s) Veronique, I think we discussed this issue again in the past and agin we came to the same conclusions: this is the reason we built the ids on the apparent structure of the document, rather than some arbitrary string of the markup: because this is the way you create ids that do NOT depend on the Manifestation, but have some basis on the conceptual structure of the document rather than the physical structure created by the XML. The XML has an explicit structure which makes manifest (hence 'Manifestation') the implicit structure of the Expression. Whenever the explicit and implicit structure match (hopefully, always), the Manifestation-level ids match the Expression-level ids. >> So, separately, we decided to use "__" to mark the separation between context and element name of ids because all other characters were possible in element numbers. Please note that technically, "__" is a separation between context and element name, not a hierarchical structure: the hierarchicality of the context is a consequence of the fact that some ids are built by juxtaposing the ids of their containing elements to create a full context. "art_12" is a full and complete id without its context, since "tome_3__book_5__chp_1__art_12" is clearly NOT necessary. >> >> > Alternatively, if you consider that "__" is not enough esthetic, then we can continue to use the "/" meltingpot, but EVERYWHERE, so >> > /akn/eu/act/2015/123/fr@2015/eupub!annex_1/annex_5~art_12/para_23/list_2/point_9.xml#art_12/para_23/list_2/point_9 >> >> As I said, I believe that the id of the element MUST BE TAKEN AS IT IS, without considerations as its hierarchical level or anything. The id is a single STRING, not a sequence of parts separated by "__" separators. >> > I agree on the the current syntax Good. Monica, I think we can go on on this aspect. >> > Consider that it is the syntax of referencing but it can never be considered as the "exact value" of the eId attribute, because, as it was clearly explained yesterday, the "eId" value is completely dependant on the organisation of the manifestation and whether you physically group or not the component manifestations in the same xml document (in fact, eId is constained by the XML syntax and rules on the unicity of the attribute) but of course, the author of a citation has not to take this into account. >> > So, the naming convention of the reference is more generic and cannot be build on the real organisation of the manifestations. >> > >> > Much more, the naming convention of the reference must, for my point of view, be considered as a generic syntax allowing to find information in documents independently of its format: I can use the akn naming convention to reference fragment/portion in pdf or word document (in fact, I do it for referencing portion/fragment in a Formex document that has a completely different syntax for the naming of the text structure. So, I establish a mapping between these two syntaxes). >> >> I disagree. As soon as we enter into the inner-document referencing, then necessarily the organization and structure of the manifestation must come into play. We can (and might) assume that, if you are using an Akoma Ntoso naming convention syntax for the document, then you must assume to use the same syntax for the fragments, which are based on the assumption that you are using the XML vocabulary for the content. You may NOT use the XML syntax, but the ids you are using implicitly assume that the inner document references are based on what the XML syntax of the document would be. >> > It is impossible to specify a work or an expression reference that take into account the Manifestation structure : a legal reference dont specify a specific manifestation and so, does not know how the manifestation is done. > A reference must also remain valid even if there is a redefinition of the structure of the manifestations. > This is the reason to transmit the fragment/portion to the server. This is the job of the resolver to make the mapping between the specification of the fragment / portion in a reference and the eId of the corresponding element, taken into account the structure of the Manifestation selected. I agree... partially: the existence of the wId and of the <mapping> element in the metadata are meant exactly to allow fragment ids update themselves if renumbering has taken place in some previous versions. But this is not relevant for the discussion, since the fragment identifier CAN be transmitted to the server, so let's go on. Veronique, please let us come to an agreement soon. Ciao Fabio -- -- Fabio Vitali The sage and the fool Dept. of Informatics go to their graves Univ. of Bologna ITALY alike in this respect: phone: +39 051 2094872 both believe the sage to be a fool. e-mail: fabio@cs.unibo.it Where, then, may wisdom be found? http://vitali.web.cs.unibo.it/ Qi, "Neither Yes nor No", The codeless code


  • 8.  RE:[legaldocml] [legaldocml] URGENT: Summary of Naming Convention - D3

    Posted 11-25-2015 16:35
    Hello Fabio,   My comments in green   Kind regards   Véronique Véronique Parisse AUBAY Luxembourg Orco House 38, Parc d’activités - L-8308 Capellen Standard : +352 2992501 Fax : +352 299251 www.aubay.com ________________________________________ De : Fabio Vitali [fvitali@gmail.com] Envoyé : dimanche 22 novembre 2015 22:53 À : PARISSE, Véronique Cc : monica.palmirani; legaldocml@lists.oasis-open.org Objet : Re: [legaldocml] [legaldocml] URGENT: Summary of Naming Convention - D3 On 20/nov/2015, at 15:21, PARISSE, Véronique <V.PARISSE@aubay.lu> wrote: > Hello Fabio, > > My comment in blue hereafter. > > Please note that the current use of the separator is ok for me so I don't make more comment on it. > > > Kind regards > > Véronique > > > Véronique Parisse > AUBAY Luxembourg > Orco House > 38, Parc d’activités - L-8308 Capellen > Standard : +352 2992501 > Fax : +352 299251 > www.aubay.com > > ________________________________________ > De : Fabio Vitali [fvitali@gmail.com] > Envoyé : vendredi 20 novembre 2015 10:32 > À : PARISSE, Véronique > Cc : monica.palmirani; legaldocml@lists.oasis-open.org > Objet : Re: [legaldocml] [legaldocml] URGENT: Summary of Naming Convention - D3 > > Dear Veronique, all: > > On 12/nov/2015, at 10:47, "PARISSE, Véronique" <V.PARISSE@aubay.lu> wrote: > > > Hello Monica and everybody > > > > see my comment hereafter > > > > But before, I have something that I want to add in the specification (but we don't have the time to discussed it yesterday) : > > > > Akoma Ntoso documents are divided into containers : <preface>, <preamble>, the main content of the document, <conclusions> and <attachments>. > > > > The <preface>, <preamble> <attachments> and <conclusions> elements are available in all types of documents. > > But the "main content of a document" is marked by different kind of elements, depending on the type of the akoma ntoso documents (the content are differently structured). For single document (so, not a document collection), we have: <body>, <mainBody>, <amendmentBody>, <debateBody>, <judgmentBody>. > > > > I propose that, for all these elements (<body>, <mainBody>, <amendmentBody>, <debateBody>, <judgmentBody>), the Akn naming convention provide a common prefix (for example, « body »), so that we can use it for selecting the whole body of an act > > ([http://www.authority.org]/akn/sl/act/2004-02-13/2~body > > Yes, I agree, but I believe that these elements already can be identified using their id, there is no need to specify it separately. Just use their id. > > Yes, I agree, and I propose to use the prefix "body" to compose the eId of <body>, <mainBody>, <amendmentBody>, <debateBody>, <judgmentBody>. Yes I think it is a good idea. >> >> /akn/eu/act/2015/123/fr@2015/eupub!main/annex_1/annex_5~art_12 - complex >> >> situation with components and optional metadata of the _expression_ (eupub) >> > also >> > /akn/eu/bill/2015/123/fr@ver_final!annex_1/annex_5~art_12 (version "final" of the bill for example when a proposal for an act is adopted by the Commission) >> >> Please do NOT use ver_ before the name of the version. It is NOT necessary. >> > I think that it is necessary because at the same location, you can have the stage, that it also a string.  So it is impossible to differentiate the version from the stage and.  The "ver_" add a better lisibility on the reference, so please, I would like to maintain it. Stage and version are thing specific of certain document types. If you have both version names (as opposed to version dates) and stage names, and there is no simple way to distinguish between stage and version names then by all means distinguish them in any way you feel appropriate, including adding a "ver_" in front. I do NOT believe this should be specified in the standard, that's all.   I think that it is important, if the version is used for the iri, that it is marked by a prefix and the slash suffix :  Version can be very complex structure and is not only text.  For example, for the European Parliament, the version has the following look : " 02-00" while for the Commission, it can be "final/2" (replace "/" with "-" for the reference... ;-) )   >> > Another point >> > For the fragment/portion, we explain the mapping between the structure and the name used in the reference ("art" for article, "chp" for chapter, name of the element in general, how is make the numbering, ...) >> >> The fragment part MUST be the id of the element. Exactly the id. >> > The eId is depending on XML constraint (so, for example, whether you put or not the content of the subdocument.  That is an implementation, so a Manifestation information).  The author of the reference has not necesseraly the knowledge of this information > He build the reference on the logical structure. > > For example, > <documentCollection> > <collectionBody> >     <act> >     </act> >     <doc> >     </doc> > </collectionBody> > </documentCollection> > The eId inside the act and the doc must be unique inside the documentCollection; > > that is not the case with the following manifestation : > <documentCollection> >     <act> >     </act> >     <doc> >     </doc> > </collectionBody> > </documentCollection> > <component> >    <act> >    </act> > </component> > <component> >    <doc> >    </doc> > </component> > > When you make a reference to a work or an _expression_, it is the job of the resolver to find the correct manifestation fragment.  This can include, eventually, a mapping of the fragment/portion because the author of the legal reference has nothing to do we the xml stuff. I totally disagree. Ids must be completely independent of the internal organization of the manifestation. In the situations that you mention, the ids MUST be the same. If you decide to place the components at the end of the collectionBody, rather than in-flow, then the ids must match anyway and must be the ones that you would have used if the components were in-flow. There are other situations in which you may have this problem. For instance, if you have a document collection X that contains documents A and B, and in document C you have a reference to art_12 of document A. He/she may write it as either a reference to X#doc_a__art_12 (or X~doc_a__art_12), or to A#art_12 (or A~art_12). They are NOT the same reference. The first one is a reference pointing to a specific location inside a composite document. The second is a reference to a specific location inside an individual document, which the RESOLVER (and ONLY the resolver) can map to a component within a composite document. In both cases the author of the reference does NOT know the physical organization of the manifestations, and it is the job of the resolver to take care of these situations.   Logical ids are completely independant of xml.  Implementation of id in xml is depending on the xml constraints.  I agree that for reference, it is the logical ids that is used.  And it is the work of the resolver to map it to the implementation. >> > For the component, we need also to specify where we find the information (which part of metadata correspond to the name of the component (annex, appendix, schedule, ... : is it the name attribute of the akn document element ? is it the metadata subType, other ?), >> >> We already have this information: it is the content of the FRBRthis element >> >> <xsd:element name="FRBRthis" type="valueType"> >> <xsd:annotation><xsd:documentation> >> <type>Element</type> >> <name>FRBRthis</name> >> <comment>The element FRBRthis is the metadata property containing the IRI of the specific component of the document in the respective level of the FRBR hierarchy</comment> >> </xsd:documentation></xsd:annotation> >> </xsd:element> >> > Yes, but again, there is a need to specify how the IRI of a work that is annexed to another work is specified : for the main document, the specification is "the element name, a subtype, the author, ..." > And for the uri of a document that is annexed ? I do not understand. The IRI of an annex is given by the IRI of the containing document plus a string identifying the annex in the component fragment (after the !), and this string can be determined (with some leeway) from the annex name. This is the IRI that you specify in the FRBRthis element, which is different from the IRI that you specify in the FRBRuri, which is "the IRI of the whole document in the respective level of the FRBR hierarchy ". What is not clear here?   I think that it is more clean if we specify how to find the "name" used, like for the iri of the act, we specify a subtype in metadata even if the type is also somewhere in the title. > If we do the same algorithm for the IRI of a document annexed, it will never be taken into account for the reference as we reference itrelatively to the main document as something that is annexed. > (<iri-main-document>![fragment-name]_1) Again: if you make a reference to a document as an annex of another document, it is a DIFFERENT reference than one to the document alone, EVEN IF they end up being the same document. The RESOLVER, and ONLY the resolver, can know this.   So, the FRBRWork/identification/ FRBRthis for the annex can be specify as if it is alone ?   > - regarding the ![fragment-name]_1 part of the reference, where is the corresponding information in the metadata of the document annexed : how to know if [fragment-name] is "fragment" or "appendice" or ... ? > (because the reference can be <iri-main-document>!annex_1 or <iri-main-document>!appendix_1 or <iri-main-document>!schedule_1) > > for me, "annex"-"appendix"-"schedule" can be > - the attribute "name" of the document element or > - the attribute type (or subtype) in the identification/work part of the metadata. I do not think that we should standardize this. The name of the attachment is heavily dependent on the local tradition. It may be the <docTitle> of the contained document, it may be the <heading> of the <attachment> element of the containing document, it may be the name attribute of the document type, etc. It depends. There is NO RIGHT WAY.   as the annex is an akoma ntoso document, it has its own metadata, so we can use these metadata (for example subtype or name) to store the choice done, exactly like we do for the act. Local traditions shall imposed which to use. >> > We need also to explain how to design a component that has no component name (for example, documents that are attached and not included, like the agreement attached to a decision act). >> >> Whether a component is physically attached or not to its main, is a Manifestation-level aspect of the document, not a Work-level or _expression_-level characteristic: at the Work or _expression_ level, the secondary component IS ALWAYS attached to the primary. >> >> Therefore this information is only relevant for Manifestation-level references (i.e., src attributes) and not for Work-level and _expression_-level references (i.e., href attributes). >> > So, we reference an agreement that is attached to the act that adopts it, as  "<iri-adoptionAct>!annex_1"  and the annex 1 of the agreement as "<iri-adoptionAct>!annex_1/annex_1" ? Possibly. Or even better: the agreement that is attached to the act that adopts it is referenced as  "<iri-adoptionAct>!agreement" and the annex 1 of the agreement as "<iri-adoptionAct>!agreement/annex_1", because "agreement" ends up being the traditional name for that annex. It is a locally dependent decision.   And how do we do the reference to a consolided amendment, that is, the amendment that contains as part of the body, a complete act ? >> > Finally, we need also to provide some examples for documentCollection (where you have two type of component : one inside the main body and one inside the attachment). >> >> Similarly, this problem is only relevant at the Manifestation level. This means that it is the business of the URI resolver to identify the physical entity where the requested component is placed if a Work-level or _expression_-level reference is used. >> > Then I don't understand the meaning of the identification/FRBRwork and identification/FRBRexpression part of metadata and why the spec says that the IRI of the manifestation is build on the IRI of the _expression_ that is build on the IRI of the work Because a document that is contained in a composite work is NOT the same work that it would be as an individual document. It may have an ALIAS, but if you reference to a composite document, you are making a reference to the composite document, not to its individual components.   For me, it is the same work else, you constraints logical structure on implementation stuff that is not necessary known by the author of the reference.  It is like a book of shakespeare is one work, independently whether it is in a composite book of all the work of shakespeare or not. And, of course, ALL expressions and manifestations exist of specific works. >> > PENDING ISSUES sub-fragments: >> > >> > To clarify my position >> > >> > I think that it is dommage that the "/" separator is used for two type of information in the structure of the IRI >> > - separate different metadata (for example, in "eu/act", the slash separate different type of information ( the country and the type of the act). >> > - mark the hierarchy (for example, annex_1/appendix_3/attachment_2 ...) >> >> To clarify MY position: we need separators. The main separator is the slash "/", but in order to allow optional parameters to appear in the middle of the URI without ambiguity, we need to place different separators strategically here and there. Currently we use FOUR other separators: "@" (or ":") for the version/variant/view, "." for the format, and recently "~" for the fragment and (unnecessarily, but alas...) "!" for the component. We do not need more than these, I think. >> >> > On another point, we have another syntax for marking a hierarchy : "__" So why can we not do this : >> > /akn/eu/act/2015/123/fr@2015/eupub!annex_1__annex_5~art_12__para_1.xml >> >> This is a different aspect: the content of the fragment part of the URI (the thing after the "~") MUST BE EXACTLY LIKE the id of the element specified. Not an interpretation, not a conversion: exactly the id. This is important. >> > This is impossible when you make reference relative to a work or an _expression_, I think.  The exact content of id is purely related to xml constraint.  You cannot build a legal reference with taken into account the XML unicity, because a reference to a work or an _expression_ can in fact reference different manifestation, depending on the time it is activated. > So it is a business of the resolver to make the mapping between the fragment specification of the reference and the eId value in some manifestation(s) Veronique, I think we discussed this issue again in the past and agin we came to the same conclusions: this is the reason we built the ids on the apparent structure of the document, rather than some arbitrary string of the markup: because this is the way you create ids that do NOT depend on the Manifestation, but have some basis on the conceptual structure of the document rather than the physical structure created by the XML. The XML has an explicit structure which makes manifest (hence 'Manifestation') the implicit structure of the _expression_. Whenever the explicit and implicit structure match (hopefully, always), the Manifestation-level ids match the _expression_-level ids. >> So, separately, we decided to use "__" to mark the separation between context and element name of ids because all other characters were possible in element numbers. Please note that technically, "__" is a separation between context and element name, not a hierarchical structure: the hierarchicality of the context is a consequence of the fact that some ids are built by juxtaposing the ids of their containing elements to create a full context. "art_12" is a full and complete id without its context, since "tome_3__book_5__chp_1__art_12" is clearly NOT necessary. >> >> > Alternatively, if you consider that "__" is not enough esthetic, then we can continue to use the "/" meltingpot, but EVERYWHERE, so >> > /akn/eu/act/2015/123/fr@2015/eupub!annex_1/annex_5~art_12/para_23/list_2/point_9.xml#art_12/para_23/list_2/point_9 >> >> As I said, I believe that the id of the element MUST BE TAKEN AS IT IS, without considerations as its hierarchical level or anything. The id is a single STRING, not a sequence of parts separated by "__" separators. >> > I agree on the the current syntax Good. Monica, I think we can go on on this aspect. >> > Consider that it is the syntax of referencing but it can never be considered as the "exact value" of the eId attribute, because, as it was clearly explained yesterday, the "eId" value is completely dependant on the organisation of the manifestation and whether you physically group or not the component manifestations in the same xml document (in fact, eId is constained by the XML syntax and rules on the unicity of the attribute) but of course, the author of a citation has not to take this into account. >> > So, the naming convention of the reference is more generic and cannot be build on the real organisation of the manifestations. >> > >> > Much more, the naming convention of the reference must, for my point of view, be considered as a generic syntax allowing to find information in documents independently of its format: I can use the akn naming convention to reference fragment/portion in pdf or word document (in fact, I do it for referencing portion/fragment in a Formex document that has a completely different syntax for the naming of the text structure. So, I establish a mapping between these two syntaxes). >> >> I disagree. As soon as we enter into the inner-document referencing, then necessarily the organization and structure of the manifestation must come into play. We can (and might) assume that, if you are using an Akoma Ntoso naming convention syntax for the document, then you must assume to use the same syntax for the fragments, which are based on the assumption that you are using the XML vocabulary for the content. You may NOT use the XML syntax, but the ids you are using implicitly assume that the inner document references are based on what the XML syntax of the document would be. >> > It is impossible to specify a work or an _expression_ reference that take into account the Manifestation structure : a legal reference dont specify a specific manifestation and so, does not know how the manifestation is done. > A reference must also remain valid even if there is a redefinition of the structure of the manifestations. > This is the reason to transmit the fragment/portion to the server.  This is the job of the resolver to make the mapping between the specification of the fragment / portion in a reference and the eId of the corresponding element, taken into account the structure of the Manifestation selected. I agree... partially: the existence of the wId and of the <mapping> element in the metadata are meant exactly to allow fragment ids update themselves if renumbering has taken place in some previous versions. But this is not relevant for the discussion, since the fragment identifier CAN be transmitted to the server, so let's go on.   It is also important for the translation. Veronique, please let us come to an agreement soon. Ciao Fabio -- -- Fabio Vitali                                          The sage and the fool Dept. of Informatics                                     go to their graves Univ. of Bologna  ITALY                               alike in this respect: phone:  +39 051 2094872                  both believe the sage to be a fool. e-mail: fabio@cs.unibo.it                  Where, then, may wisdom be found? http://vitali.web.cs.unibo.it/   Qi, "Neither Yes nor No", The codeless code