Quantcast

versioning module can't work correctly?

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

versioning module can't work correctly?

lin_xd
hi,all,  
   I have installed the versioning module, as:
  add in xconf file :
    <triggers>
        <trigger event="create,delete,update"
            class="org.exist.versioning.VersioningTrigger">
            <parameter name="overwrite" value="no"/>
        </trigger>
    </triggers>

 a file  :
<DataSet code="type.01" >
        <HDSN00.01.013 dataelementName="文档编号" value="817c2e7d-7223-5f4c-a1ab-d41f446a24c2"/>
        <HDSN00.01.014 dataelementName="文档生成日期" valueaa="20140106000208"/>
        <HDSN00.01.015 dataelementName="参与人电话" value="13458979160"/>
        <HDSN00.01.016 dataelementName="参与人姓名" value="test"/>
</DataSet>

change to 

<DataSet code="type.01" >
        <HDSN00.01.013 dataelementName="文档编号" value="817c2e7d-7223-5f4c-a1ab-d41f446a24c2"/>
        <HDSN00.01.014 dataelementName="文档生成日期" valueaa="20140106000208"/> <!--  node name changed-->
        <HDSN00.01.015 dataelementName="参与人电话" value="13458979160"/>
        <HDSN00.01.016 dataelementName="参与人姓名" value="test"/>
</DataSet>
  
so:
v:doc(doc("/db/ehr/v2/t4.xml"),9) 

got:  
<DataSet code="type.01">
<HDSN00.01.013 dataelementName="文档编号value="817c2e7d-7223-5f4c-a1ab-d41f446a24c2"/>
<HDSN00.01.014aa/>
<HDSN00.01.015 dataelementName="参与人电话value="13458979160"/>
<HDSN00.01.016 dataelementName="参与人姓名value="test"/>
</DataSet>




--
此致

easy

莫愁前路无知己,天下谁人不识君。


 


------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Exist-open mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/exist-open
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: versioning module can't work correctly?

lin_xd
hi,all,

 I found sometimes just first two rows(nodes)  can cause this error, update the other rows,can work correctly.
but edited in exide to remove the enter line, may return correctly...
maybe:

<DataSet code="type.01">
<HDSN00.01.013a/>
<HDSN00.01.015a dataelementName="参与人电话value="13458979160"/>
<HDSN00.01.016a dataelementName="参与人姓名value="test"/>
<HDSD00.01.001aa dataelementName="城乡居民健康档案编号value="51068200100400004"/>
<HDSD00.01.001a dataelementName="城乡居民健康档案编号value="51068200100400004"/>
<HDSN00.01.01a/>
<HDSN00.01.015b/>
</DataSet>

maybe just delete enter line :
<DataSet code="type.01">
<HDSN00.01.013a/>
<HDSN00.01.015a/>
<HDSN00.01.016a/>
<HDSD00.01.001aa dataelementName="城乡居民健康档案编号value="51068200100400004"/>
<HDSD00.01.001a dataelementName="城乡居民健康档案编号value="51068200100400004"/>
<HDSN00.01.01a dataelementName="文档生成日期valueaa="20140106000208"/>
<HDSN00.01.015b dataelementName="参与人电话value="13458979160"/>
</DataSet>


--
此致

  easy

莫愁前路无知己,天下谁人不识君。

在 2017-05-11 08:13:56,"林晓东" <[hidden email]> 写道:
hi,all,  
   I have installed the versioning module, as:
  add in xconf file :
    <triggers>
        <trigger event="create,delete,update"
            class="org.exist.versioning.VersioningTrigger">
            <parameter name="overwrite" value="no"/>
        </trigger>
    </triggers>

 a file  :
<DataSet code="type.01" >
        <HDSN00.01.013 dataelementName="文档编号" value="817c2e7d-7223-5f4c-a1ab-d41f446a24c2"/>
        <HDSN00.01.014 dataelementName="文档生成日期" valueaa="20140106000208"/>
        <HDSN00.01.015 dataelementName="参与人电话" value="13458979160"/>
        <HDSN00.01.016 dataelementName="参与人姓名" value="test"/>
</DataSet>

change to 

<DataSet code="type.01" >
        <HDSN00.01.013 dataelementName="文档编号" value="817c2e7d-7223-5f4c-a1ab-d41f446a24c2"/>
        <HDSN00.01.014 dataelementName="文档生成日期" valueaa="20140106000208"/> <!--  node name changed-->
        <HDSN00.01.015 dataelementName="参与人电话" value="13458979160"/>
        <HDSN00.01.016 dataelementName="参与人姓名" value="test"/>
</DataSet>
  
so:
v:doc(doc("/db/ehr/v2/t4.xml"),9) 

got:  
<DataSet code="type.01">
<HDSN00.01.013 dataelementName="文档编号value="817c2e7d-7223-5f4c-a1ab-d41f446a24c2"/>
<HDSN00.01.014aa/>
<HDSN00.01.015 dataelementName="参与人电话value="13458979160"/>
<HDSN00.01.016 dataelementName="参与人姓名value="test"/>
</DataSet>




--
此致

easy

莫愁前路无知己,天下谁人不识君。


 




------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Exist-open mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/exist-open
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: versioning module can't work correctly?

lin_xd

Versioning Module

Version: 1.1.4


exist-db develop version, window 10, jdk 1.8.31


--
此致

easy

莫愁前路无知己,天下谁人不识君。

在 2017-05-11 08:52:24,"林晓东" <[hidden email]> 写道:
hi,all,

 I found sometimes just first two rows(nodes)  can cause this error, update the other rows,can work correctly.
but edited in exide to remove the enter line, may return correctly...
maybe:

<DataSet code="type.01">
<HDSN00.01.013a/>
<HDSN00.01.015a dataelementName="参与人电话value="13458979160"/>
<HDSN00.01.016a dataelementName="参与人姓名value="test"/>
<HDSD00.01.001aa dataelementName="城乡居民健康档案编号value="51068200100400004"/>
<HDSD00.01.001a dataelementName="城乡居民健康档案编号value="51068200100400004"/>
<HDSN00.01.01a/>
<HDSN00.01.015b/>
</DataSet>

maybe just delete enter line :
<DataSet code="type.01">
<HDSN00.01.013a/>
<HDSN00.01.015a/>
<HDSN00.01.016a/>
<HDSD00.01.001aa dataelementName="城乡居民健康档案编号value="51068200100400004"/>
<HDSD00.01.001a dataelementName="城乡居民健康档案编号value="51068200100400004"/>
<HDSN00.01.01a dataelementName="文档生成日期valueaa="20140106000208"/>
<HDSN00.01.015b dataelementName="参与人电话value="13458979160"/>
</DataSet>


--
此致

  easy

莫愁前路无知己,天下谁人不识君。

在 2017-05-11 08:13:56,"林晓东" <[hidden email]> 写道:
hi,all,  
   I have installed the versioning module, as:
  add in xconf file :
    <triggers>
        <trigger event="create,delete,update"
            class="org.exist.versioning.VersioningTrigger">
            <parameter name="overwrite" value="no"/>
        </trigger>
    </triggers>

 a file  :
<DataSet code="type.01" >
        <HDSN00.01.013 dataelementName="文档编号" value="817c2e7d-7223-5f4c-a1ab-d41f446a24c2"/>
        <HDSN00.01.014 dataelementName="文档生成日期" valueaa="20140106000208"/>
        <HDSN00.01.015 dataelementName="参与人电话" value="13458979160"/>
        <HDSN00.01.016 dataelementName="参与人姓名" value="test"/>
</DataSet>

change to 

<DataSet code="type.01" >
        <HDSN00.01.013 dataelementName="文档编号" value="817c2e7d-7223-5f4c-a1ab-d41f446a24c2"/>
        <HDSN00.01.014 dataelementName="文档生成日期" valueaa="20140106000208"/> <!--  node name changed-->
        <HDSN00.01.015 dataelementName="参与人电话" value="13458979160"/>
        <HDSN00.01.016 dataelementName="参与人姓名" value="test"/>
</DataSet>
  
so:
v:doc(doc("/db/ehr/v2/t4.xml"),9) 

got:  
<DataSet code="type.01">
<HDSN00.01.013 dataelementName="文档编号value="817c2e7d-7223-5f4c-a1ab-d41f446a24c2"/>
<HDSN00.01.014aa/>
<HDSN00.01.015 dataelementName="参与人电话value="13458979160"/>
<HDSN00.01.016 dataelementName="参与人姓名value="test"/>
</DataSet>




--
此致

easy

莫愁前路无知己,天下谁人不识君。


 






------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Exist-open mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/exist-open
Loading...