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

 


Help: OASIS Mailing Lists Help | MarkMail Help

legaldocml message

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


Subject: Request #1 on the xsd of Akoma Ntoso


Dear all,

a Japanese researcher noticed that Akoma Ntoso is not able to mark up Japanese law structure in the heading part because the heading is located in the text before of number of the article.
http://www.fsa.go.jp/common/law/bank01.pdf
http://www.lvi2015.org/programme/papers/LVI2015_Kawachi_Akoma_Ntoso_XML.pdf

The fragment of text is the following:

(Definitions, etc.)
Article 2

The Akoma Ntoso WD16 representation is the follow:
<article eId="art_2">
                <num>Article 2 </num>
                <heading eId="art_2__hdg">(Definitions, etc.)</heading>
                <paragraph eId="art_2__para_1">
                    <num>(1)</num>


but the Japanese colleague has modified the schema just for permitting this one:
<article eId="art_2">
                <heading eId="art_2__hdg">(Definitions, etc.)</heading>
                <num>Article 2 </num>
                <paragraph eId="art_2__para_1">
                    <num>(1)</num>

So my proposal is to modify the <sequence> in <choice> in the hcontainer declaration.

Now the declaration is that:
        <xsd:sequence>
            <xsd:element ref="num" minOccurs="0"/>
            <xsd:element ref="heading" minOccurs="0"/>
            <xsd:element ref="subheading" minOccurs="0"/>
        </xsd:sequence>

The proposal is the follow:

        <xsd:choice>
            <xsd:element ref="num" minOccurs="0"/>
            <xsd:element ref="headings" minOccurs="0"/>
        </xsd:choice>

Where
<xsd:complexType name="headings">
       <xsd:sequence>
            <xsd:element ref="heading" minOccurs="0"/>
            <xsd:element ref="subheading" minOccurs="0"/>
        </xsd:sequence>
</xsd:complexType>

I leave to Fabio the best way to translate this requirement into Akoma Ntoso xsd. It is just an example.

Yours,
Monica

--
===================================
Associate professor of Legal Informatics
School of Law
Alma Mater Studiorum Università di Bologna
C.I.R.S.F.I.D. http://www.cirsfid.unibo.it/
Palazzo Dal Monte Gaudenzi - Via Galliera, 3
I - 40121 BOLOGNA (ITALY)
Tel +39 051 277217
Fax +39 051 260782
E-mail  monica.palmirani@unibo.it
====================================



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