Hi
I'm using JBoss5.0.1 + Orbeon 3.8.0.201005141856-CE + Firefox 3.5.9. I am developing a Xform for the SignaturePolicy schema. The Xform is not too complicated (from a logical perspective) but it is very, very long, with a lot of repeated and nested elements. I have developed ADD/REMOVE buttons for adding/removing the repeated elements. My problem: I get, time to time, the following error, when trying to add a new item
Repeat index was not set for repeat id ...... The main problem I have is that is hard to me to reproduce this error, because I get it time to time. I am not sure if has something to do with the instance data.
Sorry for the vague explanation, but I just send this message in case anybody has found this error before and can send me a clue :-) Thanks a lot Isi
-- You receive this message as a subscriber of the [hidden email] mailing list. To unsubscribe: mailto:[hidden email] For general help: mailto:[hidden email]?subject=help OW2 mailing lists service home page: http://www.ow2.org/wws |
Hi
Finally I have simplified my files and I am now able to reproduce the error. So, I have the following files (I send attached the files and, in case it is a problem, copied at the end of the message):
How to reproduce the problem?
Now, some weird things:
<xf:instance id="datos" xmlns=""> <tmp/>
</xf:instance> put <xf:instance id="datos" xmlns="">
<SignaturePolicy xmlns="http://uri.etsi.org/2038/v1.1.1#" xmlns:XAdES="http://uri.etsi.org/01903/v1.2.2#" xmlns:ds="http://www.w3.org/2000/09/xmldsig#" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://uri.etsi.org/2038/v1.1.1# signaturePolicy_etsi_tr_102_038.xsd">
<SignPolicyInfo>
<SignatureValidationPolicy>
<CommonRules>
<TimeStampTrustCondition>
<TtsCertificateTrustTrees>
<CertificateTrustPoint/>
</TtsCertificateTrustTrees>
</TimeStampTrustCondition>
</CommonRules>
</SignatureValidationPolicy>
</SignPolicyInfo>
</SignaturePolicy> </xf:instance>
Please, please, any idea? :-( So, I would think that has something to do with the Xform itself but then, why does it work with the data directly in the file?
Thanks a lot, and I would really appreciate any hint. Isi 2010/6/4 Legido Martínez, Isidoro <[hidden email]> Hi -- You receive this message as a subscriber of the [hidden email] mailing list. To unsubscribe: mailto:[hidden email] For general help: mailto:[hidden email]?subject=help OW2 mailing lists service home page: http://www.ow2.org/wws |
Sorry, I forgot the files! :-(
index.jsp
<?xml version="1.0" encoding="UTF-8"?> <html xmlns="http://www.w3.org/1999/xhtml" xmlns:XAdES="http://uri.etsi.org/01903/v1.2.2#" xmlns:cat="urn:oasis:names:tc:ubl:CommonAggregateTypes:1.0:0.70" xmlns:cct="urn:oasis:names:tc:ubl:CoreComponentTypes:1.0:0.70" xmlns:ccts="urn:oasis:names:tc:ubl:CoreComponentParameters:1.0:0.70" xmlns:cert="http://www.catcert.cat/X509ProfileSchema_v1.2#" xmlns:ds="http://www.w3.org/2000/09/xmldsig#" xmlns:etsi="http://uri.etsi.org/2038/v1.1.1#" xmlns:ev="http://www.w3.org/2001/xml-events" xmlns:fn="http://www.w3.org/2005/xpath-functions" xmlns:isi="[hidden email]" xmlns:order="urn:oasis:names:tc:ubl:Order:1.0:0.70" xmlns:xacml="urn:oasis:names:tc:xacml:2.0:policy:schema:os" xmlns:xf="http://www.w3.org/2002/xforms" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xxforms="http://orbeon.org/oxf/xml/xforms">
<head>
<xf:model id="default">
<xf:instance id="datos" xmlns="">
<tmp/>
</xf:instance>
<!-- THAT WORKS!
<xf:instance id="datos" xmlns="">
<SignaturePolicy xmlns="http://uri.etsi.org/2038/v1.1.1#" xmlns:XAdES="http://uri.etsi.org/01903/v1.2.2#" xmlns:ds="http://www.w3.org/2000/09/xmldsig#" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://uri.etsi.org/2038/v1.1.1# signaturePolicy_etsi_tr_102_038.xsd">
<SignPolicyInfo>
<SignatureValidationPolicy>
<CommonRules>
<TimeStampTrustCondition>
<TtsCertificateTrustTrees>
<CertificateTrustPoint/>
</TtsCertificateTrustTrees>
</TimeStampTrustCondition>
</CommonRules>
</SignatureValidationPolicy>
</SignPolicyInfo>
</SignaturePolicy>
</xf:instance>
-->
<xf:instance id="file2Upload">
<tmp xmlns="">
<file filename="" mediatype="" size=""/>
</tmp>
</xf:instance>
<xf:instance id="template" xmlns="">
<SignaturePolicy xmlns="http://uri.etsi.org/2038/v1.1.1#" xmlns:XAdES="http://uri.etsi.org/01903/v1.2.2#" xmlns:n2="http://www.altova.com/samplexml/other-namespace" xmlns:ds="http://www.w3.org/2000/09/xmldsig#" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<SignPolicyInfo>
<SignatureValidationPolicy>
<CommonRules>
<TimeStampTrustCondition>
<TtsCertificateTrustTrees>
<CertificateTrustPoint>
<PathLenConstraint/>
</CertificateTrustPoint>
</TtsCertificateTrustTrees>
</TimeStampTrustCondition>
</CommonRules>
</SignatureValidationPolicy>
</SignPolicyInfo>
</SignaturePolicy>
</xf:instance>
<xf:submission id="servlet-submission" method="post" ref="instance('file2Upload')" resource="loadFile.jsp" replace="instance" instance="datos"/>
</xf:model>
</head>
<body> <h1>Select instance Data</h1>
<xf:group appearance="full" ref="instance('file2Upload')">
<div>
<xf:upload ref="file">
<xf:label>File</xf:label>
<xf:filename ref="@filename"/>
<xf:mediatype ref="@mediatype"/>
<xf:size ref="@size"/>
</xf:upload>
</div>
<div> <xf:trigger>
<xf:label>Submit</xf:label>
<xf:action ev:event="DOMActivate">
<xf:send submission="servlet-submission"/>
</xf:action>
</xf:trigger>
</div>
</xf:group>
<xf:group ref="etsi:SignPolicyInfo">
<xf:label/>
<xf:group ref="etsi:SignatureValidationPolicy">
<xf:label/>
<xf:group ref="etsi:CommonRules">
<xf:label/>
<xf:group ref="etsi:TimeStampTrustCondition">
<xf:label/>
<xf:group ref="etsi:TtsCertificateTrustTrees">
<xf:label/>
<xf:trigger>
<xf:label>ADD etsi:CertificateTrustPoint</xf:label>
<xf:insert ev:event="DOMActivate" context="." at="last()" position="after" nodeset="child::element()[local-name()='CertificateTrustPoint']" origin="instance('template')/etsi:SignPolicyInfo/etsi:SignatureValidationPolicy/etsi:CommonRules/etsi:TimeStampTrustCondition/etsi:TtsCertificateTrustTrees/etsi:CertificateTrustPoint"/>
</xf:trigger>
<xf:repeat nodeset="etsi:CertificateTrustPoint">
<xf:group ref=".">
<xf:label/>
<xf:trigger ref=".[count(etsi:PathLenConstraint) < 1]">
<xf:label>ADD etsi:PathLenConstraint</xf:label>
<xf:insert ev:event="DOMActivate" context="." at="last()" position="after" nodeset="child::element()[local-name()='PathLenConstraint']" origin="instance('template')/etsi:SignPolicyInfo/etsi:SignatureValidationPolicy/etsi:CommonRules/etsi:TimeStampTrustCondition/etsi:TtsCertificateTrustTrees/etsi:CertificateTrustPoint/etsi:PathLenConstraint"/>
</xf:trigger>
<xf:repeat nodeset="etsi:PathLenConstraint">
<xf:input ref=".">
<xf:label/>
</xf:input>
</xf:repeat>
</xf:group>
</xf:repeat>
</xf:group>
</xf:group>
</xf:group>
</xf:group>
</xf:group>
</body>
</html> loadFile.jsp
<%@page import="java.io.*" %> <% File file = new File("/tmp/SignaturePolicy.xml");
BufferedReader in = new BufferedReader(new InputStreamReader(new FileInputStream(file), "UTF-8")); String inputLine; response.setContentType("application/xml");
while ((inputLine = in.readLine()) != null) { out.println(inputLine); } in.close(); %> SignaturePolicy.xml
<SignaturePolicy xmlns="http://uri.etsi.org/2038/v1.1.1#" xmlns:XAdES="http://uri.etsi.org/01903/v1.2.2#" xmlns:ds="http://www.w3.org/2000/09/xmldsig#" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://uri.etsi.org/2038/v1.1.1# signaturePolicy_etsi_tr_102_038.xsd">
<SignPolicyInfo> <SignatureValidationPolicy> <CommonRules>
<TimeStampTrustCondition> <TtsCertificateTrustTrees> <CertificateTrustPoint/>
</TtsCertificateTrustTrees> </TimeStampTrustCondition>
</CommonRules> </SignatureValidationPolicy> </SignPolicyInfo>
</SignaturePolicy> 2010/6/4 Legido Martínez, Isidoro <[hidden email]> Hi -- You receive this message as a subscriber of the [hidden email] mailing list. To unsubscribe: mailto:[hidden email] For general help: mailto:[hidden email]?subject=help OW2 mailing lists service home page: http://www.ow2.org/wws loadFile.jsp (484 bytes) Download Attachment index.jsp (6K) Download Attachment SignaturePolicy.xml (836 bytes) Download Attachment |
Administrator
|
Isi,
We managed to reproduce the issue and we are looking into it. -Erik 2010/6/4 Legido Martínez, Isidoro <[hidden email]>: > Sorry, I forgot the files! :-( > index.jsp > <?xml version="1.0" encoding="UTF-8"?> > <html xmlns="http://www.w3.org/1999/xhtml" > xmlns:XAdES="http://uri.etsi.org/01903/v1.2.2#" > xmlns:cat="urn:oasis:names:tc:ubl:CommonAggregateTypes:1.0:0.70" > xmlns:cct="urn:oasis:names:tc:ubl:CoreComponentTypes:1.0:0.70" > xmlns:ccts="urn:oasis:names:tc:ubl:CoreComponentParameters:1.0:0.70" > xmlns:cert="http://www.catcert.cat/X509ProfileSchema_v1.2#" > xmlns:ds="http://www.w3.org/2000/09/xmldsig#" > xmlns:etsi="http://uri.etsi.org/2038/v1.1.1#" > xmlns:ev="http://www.w3.org/2001/xml-events" > xmlns:fn="http://www.w3.org/2005/xpath-functions" > xmlns:isi="[hidden email]" > xmlns:order="urn:oasis:names:tc:ubl:Order:1.0:0.70" > xmlns:xacml="urn:oasis:names:tc:xacml:2.0:policy:schema:os" > xmlns:xf="http://www.w3.org/2002/xforms" > xmlns:xs="http://www.w3.org/2001/XMLSchema" > xmlns:xsd="http://www.w3.org/2001/XMLSchema" > xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" > xmlns:xxforms="http://orbeon.org/oxf/xml/xforms"> > <head> > <xf:model id="default"> > <xf:instance id="datos" xmlns=""> > <tmp/> > </xf:instance> > <!-- THAT WORKS! > <xf:instance id="datos" xmlns=""> > <SignaturePolicy xmlns="http://uri.etsi.org/2038/v1.1.1#" > xmlns:XAdES="http://uri.etsi.org/01903/v1.2.2#" > xmlns:ds="http://www.w3.org/2000/09/xmldsig#" > xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" > xsi:schemaLocation="http://uri.etsi.org/2038/v1.1.1# > signaturePolicy_etsi_tr_102_038.xsd"> > <SignPolicyInfo> > <SignatureValidationPolicy> > <CommonRules> > <TimeStampTrustCondition> > <TtsCertificateTrustTrees> > <CertificateTrustPoint/> > </TtsCertificateTrustTrees> > </TimeStampTrustCondition> > </CommonRules> > </SignatureValidationPolicy> > </SignPolicyInfo> > </SignaturePolicy> > </xf:instance> > --> > <xf:instance id="file2Upload"> > <tmp xmlns=""> > <file filename="" mediatype="" size=""/> > </tmp> > </xf:instance> > <xf:instance id="template" xmlns=""> > <SignaturePolicy xmlns="http://uri.etsi.org/2038/v1.1.1#" > xmlns:XAdES="http://uri.etsi.org/01903/v1.2.2#" > xmlns:n2="http://www.altova.com/samplexml/other-namespace" > xmlns:ds="http://www.w3.org/2000/09/xmldsig#" > xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> > <SignPolicyInfo> > <SignatureValidationPolicy> > <CommonRules> > <TimeStampTrustCondition> > <TtsCertificateTrustTrees> > <CertificateTrustPoint> > <PathLenConstraint/> > </CertificateTrustPoint> > </TtsCertificateTrustTrees> > </TimeStampTrustCondition> > </CommonRules> > </SignatureValidationPolicy> > </SignPolicyInfo> > </SignaturePolicy> > </xf:instance> > <xf:submission id="servlet-submission" method="post" > ref="instance('file2Upload')" resource="loadFile.jsp" replace="instance" > instance="datos"/> > </xf:model> > </head> > <body> > <h1>Select instance Data</h1> > <xf:group appearance="full" ref="instance('file2Upload')"> > <div> > <xf:upload ref="file"> > <xf:label>File</xf:label> > <xf:filename ref="@filename"/> > <xf:mediatype ref="@mediatype"/> > <xf:size ref="@size"/> > </xf:upload> > </div> > <div> > <xf:trigger> > <xf:label>Submit</xf:label> > <xf:action ev:event="DOMActivate"> > <xf:send submission="servlet-submission"/> > </xf:action> > </xf:trigger> > </div> > </xf:group> > <xf:group ref="etsi:SignPolicyInfo"> > <xf:label/> > <xf:group ref="etsi:SignatureValidationPolicy"> > <xf:label/> > <xf:group ref="etsi:CommonRules"> > <xf:label/> > <xf:group ref="etsi:TimeStampTrustCondition"> > <xf:label/> > <xf:group ref="etsi:TtsCertificateTrustTrees"> > <xf:label/> > <xf:trigger> > <xf:label>ADD etsi:CertificateTrustPoint</xf:label> > <xf:insert ev:event="DOMActivate" context="." at="last()" position="after" > nodeset="child::element()[local-name()='CertificateTrustPoint']" > origin="instance('template')/etsi:SignPolicyInfo/etsi:SignatureValidationPolicy/etsi:CommonRules/etsi:TimeStampTrustCondition/etsi:TtsCertificateTrustTrees/etsi:CertificateTrustPoint"/> > </xf:trigger> > <xf:repeat nodeset="etsi:CertificateTrustPoint"> > <xf:group ref="."> > <xf:label/> > <xf:trigger ref=".[count(etsi:PathLenConstraint) < 1]"> > <xf:label>ADD etsi:PathLenConstraint</xf:label> > <xf:insert ev:event="DOMActivate" context="." at="last()" position="after" > nodeset="child::element()[local-name()='PathLenConstraint']" > origin="instance('template')/etsi:SignPolicyInfo/etsi:SignatureValidationPolicy/etsi:CommonRules/etsi:TimeStampTrustCondition/etsi:TtsCertificateTrustTrees/etsi:CertificateTrustPoint/etsi:PathLenConstraint"/> > </xf:trigger> > <xf:repeat nodeset="etsi:PathLenConstraint"> > <xf:input ref="."> > <xf:label/> > </xf:input> > </xf:repeat> > </xf:group> > </xf:repeat> > </xf:group> > </xf:group> > </xf:group> > </xf:group> > </xf:group> > </body> > </html> > loadFile.jsp > <%@page import="java.io.*" %> > <% > File file = new File("/tmp/SignaturePolicy.xml"); > BufferedReader in = new BufferedReader(new InputStreamReader(new > FileInputStream(file), "UTF-8")); > String inputLine; > response.setContentType("application/xml"); > while ((inputLine = in.readLine()) != null) { > out.println(inputLine); > } > in.close(); > %> > SignaturePolicy.xml > <SignaturePolicy xmlns="http://uri.etsi.org/2038/v1.1.1#" > xmlns:XAdES="http://uri.etsi.org/01903/v1.2.2#" > xmlns:ds="http://www.w3.org/2000/09/xmldsig#" > xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" > xsi:schemaLocation="http://uri.etsi.org/2038/v1.1.1# > signaturePolicy_etsi_tr_102_038.xsd"> > <SignPolicyInfo> > <SignatureValidationPolicy> > <CommonRules> > <TimeStampTrustCondition> > <TtsCertificateTrustTrees> > <CertificateTrustPoint/> > </TtsCertificateTrustTrees> > </TimeStampTrustCondition> > </CommonRules> > </SignatureValidationPolicy> > </SignPolicyInfo> > </SignaturePolicy> > 2010/6/4 Legido Martínez, Isidoro <[hidden email]> >> >> Hi >> Finally I have simplified my files and I am now able to reproduce the >> error. >> So, I have the following files (I send attached the files and, in case it >> is a problem, copied at the end of the message): >> >> index.jsp. It is a JSP with the xform, but I have simplified it a lot, >> removing all the JSP stuff, styles,.... >> SignaturePolicy.xml The instance data, a simplified version of the >> original data >> loadFile.jsp The Xform has a button for loading the data, using the upload >> component. I have simplified this file so now, it returns always >> the SignaturePolicy.xml file >> >> How to reproduce the problem? >> >> If [ORBEON_HOME] is the home directory, create the >> folder [ORBEON_HOME]/xforms-jsp/SignaturePolicy >> Copy index.jsp and loadFile.jsp >> in [ORBEON_HOME]/xforms-jsp/SignaturePolicy >> Copy the SignaturePolicy.xml file somewhere in the file system (let's say >> in /tmp/SignaturePolicy.xml) >> Edit laodFile.jsp and change the SignaturePolicy.xml's path >> Load the form in http://.../xforms-jsp/SignaturePolicy >> The page shows an upload button and a Submit one. >> Press the upload button and choose any file. It does not matter which >> file, because loadFile.jsp is going to return always the same file. >> Press Submit >> Now, two buttons are shown. Press "ADD etsi:PathLenConstraint" >> The error arises. >> >> Now, some weird things: >> >> It the instance data is added directly in the index.jsp, it works fine >> (see the commented lines into the file). So, instead of >> >> <xf:instance id="datos" xmlns=""> >> <tmp/> >> </xf:instance> >> put >> <xf:instance id="datos" xmlns=""> >> <SignaturePolicy xmlns="http://uri.etsi.org/2038/v1.1.1#" >> xmlns:XAdES="http://uri.etsi.org/01903/v1.2.2#" >> xmlns:ds="http://www.w3.org/2000/09/xmldsig#" >> xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" >> xsi:schemaLocation="http://uri.etsi.org/2038/v1.1.1# >> signaturePolicy_etsi_tr_102_038.xsd"> <SignPolicyInfo> >> <SignatureValidationPolicy> <CommonRules> <TimeStampTrustCondition> >> <TtsCertificateTrustTrees> <CertificateTrustPoint/> >> </TtsCertificateTrustTrees> </TimeStampTrustCondition> </CommonRules> >> </SignatureValidationPolicy> </SignPolicyInfo> </SignaturePolicy> >> </xf:instance> >> >> If I press "ADD etsi:CertificateTrustPoint" it works: a new >> PathLenConstraint is created. Now, if I press "ADD etsi:PathLenConstraint", >> it works! >> >> Please, please, any idea? :-( So, I would think that has something to do >> with the Xform itself but then, why does it work with the data directly in >> the file? >> Thanks a lot, and I would really appreciate any hint. >> Isi >> >> >> >> >> 2010/6/4 Legido Martínez, Isidoro <[hidden email]> >>> >>> Hi >>> I'm using JBoss5.0.1 + Orbeon 3.8.0.201005141856-CE + Firefox 3.5.9. >>> I am developing a Xform for the SignaturePolicy schema. The Xform is not >>> too complicated (from a logical perspective) but it is very, very long, with >>> a lot of repeated and nested elements. I have developed ADD/REMOVE buttons >>> for adding/removing the repeated elements. My problem: I get, time to time, >>> the following error, when trying to add a new item >>> Repeat index was not set for repeat id ...... >>> The main problem I have is that is hard to me to reproduce this error, >>> because I get it time to time. I am not sure if has something to do with >>> the instance data. >>> Sorry for the vague explanation, but I just send this message in case >>> anybody has found this error before and can send me a clue :-) >>> Thanks a lot >>> Isi >> > > > > -- > You receive this message as a subscriber of the [hidden email] mailing > list. > To unsubscribe: mailto:[hidden email] > For general help: mailto:[hidden email]?subject=help > OW2 mailing lists service home page: http://www.ow2.org/wws > > -- You receive this message as a subscriber of the [hidden email] mailing list. To unsubscribe: mailto:[hidden email] For general help: mailto:[hidden email]?subject=help OW2 mailing lists service home page: http://www.ow2.org/wws |
Thanks a lot!!!! :-)
Isi On 4 June 2010 20:26, Erik Bruchez <[hidden email]> wrote: Isi, -- You receive this message as a subscriber of the [hidden email] mailing list. To unsubscribe: mailto:[hidden email] For general help: mailto:[hidden email]?subject=help OW2 mailing lists service home page: http://www.ow2.org/wws |
Administrator
|
The issue is now fixed.
Bug: http://forge.ow2.org/tracker/index.php?func=detail&aid=315081&group_id=168&atid=350207 Commit: http://github.com/orbeon/orbeon-forms/commit/b1345cc65ede1b31ccc76782a35ab707d96c2643 Please let us know if this works for you! -Erik 2010/6/4 Legido Martínez, Isidoro <[hidden email]>: > Thanks a lot!!!! :-) > Isi > > On 4 June 2010 20:26, Erik Bruchez <[hidden email]> wrote: >> >> Isi, >> >> We managed to reproduce the issue and we are looking into it. >> >> -Erik >> >> 2010/6/4 Legido Martínez, Isidoro <[hidden email]>: >> > Sorry, I forgot the files! :-( >> > index.jsp >> > <?xml version="1.0" encoding="UTF-8"?> >> > <html xmlns="http://www.w3.org/1999/xhtml" >> > xmlns:XAdES="http://uri.etsi.org/01903/v1.2.2#" >> > xmlns:cat="urn:oasis:names:tc:ubl:CommonAggregateTypes:1.0:0.70" >> > xmlns:cct="urn:oasis:names:tc:ubl:CoreComponentTypes:1.0:0.70" >> > xmlns:ccts="urn:oasis:names:tc:ubl:CoreComponentParameters:1.0:0.70" >> > xmlns:cert="http://www.catcert.cat/X509ProfileSchema_v1.2#" >> > xmlns:ds="http://www.w3.org/2000/09/xmldsig#" >> > xmlns:etsi="http://uri.etsi.org/2038/v1.1.1#" >> > xmlns:ev="http://www.w3.org/2001/xml-events" >> > xmlns:fn="http://www.w3.org/2005/xpath-functions" >> > xmlns:isi="[hidden email]" >> > xmlns:order="urn:oasis:names:tc:ubl:Order:1.0:0.70" >> > xmlns:xacml="urn:oasis:names:tc:xacml:2.0:policy:schema:os" >> > xmlns:xf="http://www.w3.org/2002/xforms" >> > xmlns:xs="http://www.w3.org/2001/XMLSchema" >> > xmlns:xsd="http://www.w3.org/2001/XMLSchema" >> > xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" >> > xmlns:xxforms="http://orbeon.org/oxf/xml/xforms"> >> > <head> >> > <xf:model id="default"> >> > <xf:instance id="datos" xmlns=""> >> > <tmp/> >> > </xf:instance> >> > <!-- THAT WORKS! >> > <xf:instance id="datos" xmlns=""> >> > <SignaturePolicy xmlns="http://uri.etsi.org/2038/v1.1.1#" >> > xmlns:XAdES="http://uri.etsi.org/01903/v1.2.2#" >> > xmlns:ds="http://www.w3.org/2000/09/xmldsig#" >> > xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" >> > xsi:schemaLocation="http://uri.etsi.org/2038/v1.1.1# >> > signaturePolicy_etsi_tr_102_038.xsd"> >> > <SignPolicyInfo> >> > <SignatureValidationPolicy> >> > <CommonRules> >> > <TimeStampTrustCondition> >> > <TtsCertificateTrustTrees> >> > <CertificateTrustPoint/> >> > </TtsCertificateTrustTrees> >> > </TimeStampTrustCondition> >> > </CommonRules> >> > </SignatureValidationPolicy> >> > </SignPolicyInfo> >> > </SignaturePolicy> >> > </xf:instance> >> > --> >> > <xf:instance id="file2Upload"> >> > <tmp xmlns=""> >> > <file filename="" mediatype="" size=""/> >> > </tmp> >> > </xf:instance> >> > <xf:instance id="template" xmlns=""> >> > <SignaturePolicy xmlns="http://uri.etsi.org/2038/v1.1.1#" >> > xmlns:XAdES="http://uri.etsi.org/01903/v1.2.2#" >> > xmlns:n2="http://www.altova.com/samplexml/other-namespace" >> > xmlns:ds="http://www.w3.org/2000/09/xmldsig#" >> > xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> >> > <SignPolicyInfo> >> > <SignatureValidationPolicy> >> > <CommonRules> >> > <TimeStampTrustCondition> >> > <TtsCertificateTrustTrees> >> > <CertificateTrustPoint> >> > <PathLenConstraint/> >> > </CertificateTrustPoint> >> > </TtsCertificateTrustTrees> >> > </TimeStampTrustCondition> >> > </CommonRules> >> > </SignatureValidationPolicy> >> > </SignPolicyInfo> >> > </SignaturePolicy> >> > </xf:instance> >> > <xf:submission id="servlet-submission" method="post" >> > ref="instance('file2Upload')" resource="loadFile.jsp" replace="instance" >> > instance="datos"/> >> > </xf:model> >> > </head> >> > <body> >> > <h1>Select instance Data</h1> >> > <xf:group appearance="full" ref="instance('file2Upload')"> >> > <div> >> > <xf:upload ref="file"> >> > <xf:label>File</xf:label> >> > <xf:filename ref="@filename"/> >> > <xf:mediatype ref="@mediatype"/> >> > <xf:size ref="@size"/> >> > </xf:upload> >> > </div> >> > <div> >> > <xf:trigger> >> > <xf:label>Submit</xf:label> >> > <xf:action ev:event="DOMActivate"> >> > <xf:send submission="servlet-submission"/> >> > </xf:action> >> > </xf:trigger> >> > </div> >> > </xf:group> >> > <xf:group ref="etsi:SignPolicyInfo"> >> > <xf:label/> >> > <xf:group ref="etsi:SignatureValidationPolicy"> >> > <xf:label/> >> > <xf:group ref="etsi:CommonRules"> >> > <xf:label/> >> > <xf:group ref="etsi:TimeStampTrustCondition"> >> > <xf:label/> >> > <xf:group ref="etsi:TtsCertificateTrustTrees"> >> > <xf:label/> >> > <xf:trigger> >> > <xf:label>ADD etsi:CertificateTrustPoint</xf:label> >> > <xf:insert ev:event="DOMActivate" context="." at="last()" >> > position="after" >> > nodeset="child::element()[local-name()='CertificateTrustPoint']" >> > >> > origin="instance('template')/etsi:SignPolicyInfo/etsi:SignatureValidationPolicy/etsi:CommonRules/etsi:TimeStampTrustCondition/etsi:TtsCertificateTrustTrees/etsi:CertificateTrustPoint"/> >> > </xf:trigger> >> > <xf:repeat nodeset="etsi:CertificateTrustPoint"> >> > <xf:group ref="."> >> > <xf:label/> >> > <xf:trigger ref=".[count(etsi:PathLenConstraint) < 1]"> >> > <xf:label>ADD etsi:PathLenConstraint</xf:label> >> > <xf:insert ev:event="DOMActivate" context="." at="last()" >> > position="after" >> > nodeset="child::element()[local-name()='PathLenConstraint']" >> > >> > origin="instance('template')/etsi:SignPolicyInfo/etsi:SignatureValidationPolicy/etsi:CommonRules/etsi:TimeStampTrustCondition/etsi:TtsCertificateTrustTrees/etsi:CertificateTrustPoint/etsi:PathLenConstraint"/> >> > </xf:trigger> >> > <xf:repeat nodeset="etsi:PathLenConstraint"> >> > <xf:input ref="."> >> > <xf:label/> >> > </xf:input> >> > </xf:repeat> >> > </xf:group> >> > </xf:repeat> >> > </xf:group> >> > </xf:group> >> > </xf:group> >> > </xf:group> >> > </xf:group> >> > </body> >> > </html> >> > loadFile.jsp >> > <%@page import="java.io.*" %> >> > <% >> > File file = new File("/tmp/SignaturePolicy.xml"); >> > BufferedReader in = new BufferedReader(new InputStreamReader(new >> > FileInputStream(file), "UTF-8")); >> > String inputLine; >> > response.setContentType("application/xml"); >> > while ((inputLine = in.readLine()) != null) { >> > out.println(inputLine); >> > } >> > in.close(); >> > %> >> > SignaturePolicy.xml >> > <SignaturePolicy xmlns="http://uri.etsi.org/2038/v1.1.1#" >> > xmlns:XAdES="http://uri.etsi.org/01903/v1.2.2#" >> > xmlns:ds="http://www.w3.org/2000/09/xmldsig#" >> > xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" >> > xsi:schemaLocation="http://uri.etsi.org/2038/v1.1.1# >> > signaturePolicy_etsi_tr_102_038.xsd"> >> > <SignPolicyInfo> >> > <SignatureValidationPolicy> >> > <CommonRules> >> > <TimeStampTrustCondition> >> > <TtsCertificateTrustTrees> >> > <CertificateTrustPoint/> >> > </TtsCertificateTrustTrees> >> > </TimeStampTrustCondition> >> > </CommonRules> >> > </SignatureValidationPolicy> >> > </SignPolicyInfo> >> > </SignaturePolicy> >> > 2010/6/4 Legido Martínez, Isidoro <[hidden email]> >> >> >> >> Hi >> >> Finally I have simplified my files and I am now able to reproduce the >> >> error. >> >> So, I have the following files (I send attached the files and, in case >> >> it >> >> is a problem, copied at the end of the message): >> >> >> >> index.jsp. It is a JSP with the xform, but I have simplified it a lot, >> >> removing all the JSP stuff, styles,.... >> >> SignaturePolicy.xml The instance data, a simplified version of the >> >> original data >> >> loadFile.jsp The Xform has a button for loading the data, using the >> >> upload >> >> component. I have simplified this file so now, it returns always >> >> the SignaturePolicy.xml file >> >> >> >> How to reproduce the problem? >> >> >> >> If [ORBEON_HOME] is the home directory, create the >> >> folder [ORBEON_HOME]/xforms-jsp/SignaturePolicy >> >> Copy index.jsp and loadFile.jsp >> >> in [ORBEON_HOME]/xforms-jsp/SignaturePolicy >> >> Copy the SignaturePolicy.xml file somewhere in the file system (let's >> >> say >> >> in /tmp/SignaturePolicy.xml) >> >> Edit laodFile.jsp and change the SignaturePolicy.xml's path >> >> Load the form in http://.../xforms-jsp/SignaturePolicy >> >> The page shows an upload button and a Submit one. >> >> Press the upload button and choose any file. It does not matter which >> >> file, because loadFile.jsp is going to return always the same file. >> >> Press Submit >> >> Now, two buttons are shown. Press "ADD etsi:PathLenConstraint" >> >> The error arises. >> >> >> >> Now, some weird things: >> >> >> >> It the instance data is added directly in the index.jsp, it works fine >> >> (see the commented lines into the file). So, instead of >> >> >> >> <xf:instance id="datos" xmlns=""> >> >> <tmp/> >> >> </xf:instance> >> >> put >> >> <xf:instance id="datos" xmlns=""> >> >> <SignaturePolicy xmlns="http://uri.etsi.org/2038/v1.1.1#" >> >> xmlns:XAdES="http://uri.etsi.org/01903/v1.2.2#" >> >> xmlns:ds="http://www.w3.org/2000/09/xmldsig#" >> >> xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" >> >> xsi:schemaLocation="http://uri.etsi.org/2038/v1.1.1# >> >> signaturePolicy_etsi_tr_102_038.xsd"> <SignPolicyInfo> >> >> <SignatureValidationPolicy> <CommonRules> <TimeStampTrustCondition> >> >> <TtsCertificateTrustTrees> <CertificateTrustPoint/> >> >> </TtsCertificateTrustTrees> </TimeStampTrustCondition> </CommonRules> >> >> </SignatureValidationPolicy> </SignPolicyInfo> </SignaturePolicy> >> >> </xf:instance> >> >> >> >> If I press "ADD etsi:CertificateTrustPoint" it works: a new >> >> PathLenConstraint is created. Now, if I press "ADD >> >> etsi:PathLenConstraint", >> >> it works! >> >> >> >> Please, please, any idea? :-( So, I would think that has something to >> >> do >> >> with the Xform itself but then, why does it work with the data directly >> >> in >> >> the file? >> >> Thanks a lot, and I would really appreciate any hint. >> >> Isi >> >> >> >> >> >> >> >> >> >> 2010/6/4 Legido Martínez, Isidoro <[hidden email]> >> >>> >> >>> Hi >> >>> I'm using JBoss5.0.1 + Orbeon 3.8.0.201005141856-CE + Firefox 3.5.9. >> >>> I am developing a Xform for the SignaturePolicy schema. The Xform is >> >>> not >> >>> too complicated (from a logical perspective) but it is very, very >> >>> long, with >> >>> a lot of repeated and nested elements. I have developed ADD/REMOVE >> >>> buttons >> >>> for adding/removing the repeated elements. My problem: I get, time to >> >>> time, >> >>> the following error, when trying to add a new item >> >>> Repeat index was not set for repeat id ...... >> >>> The main problem I have is that is hard to me to reproduce this >> >>> error, >> >>> because I get it time to time. I am not sure if has something to do >> >>> with >> >>> the instance data. >> >>> Sorry for the vague explanation, but I just send this message in case >> >>> anybody has found this error before and can send me a clue :-) >> >>> Thanks a lot >> >>> Isi >> >> >> > >> > >> > >> > -- >> > You receive this message as a subscriber of the [hidden email] >> > mailing >> > list. >> > To unsubscribe: mailto:[hidden email] >> > For general help: mailto:[hidden email]?subject=help >> > OW2 mailing lists service home page: http://www.ow2.org/wws >> > >> > >> >> >> -- >> You receive this message as a subscriber of the [hidden email] mailing >> list. >> To unsubscribe: mailto:[hidden email] >> For general help: mailto:[hidden email]?subject=help >> OW2 mailing lists service home page: http://www.ow2.org/wws >> > > > > -- > You receive this message as a subscriber of the [hidden email] mailing > list. > To unsubscribe: mailto:[hidden email] > For general help: mailto:[hidden email]?subject=help > OW2 mailing lists service home page: http://www.ow2.org/wws > > -- You receive this message as a subscriber of the [hidden email] mailing list. To unsubscribe: mailto:[hidden email] For general help: mailto:[hidden email]?subject=help OW2 mailing lists service home page: http://www.ow2.org/wws |
Hi
I have just installed it and it's working better than perfect!! :-) Thanks a lot for the fast reply! Isi
On 5 June 2010 00:29, Erik Bruchez <[hidden email]> wrote: The issue is now fixed. -- You receive this message as a subscriber of the [hidden email] mailing list. To unsubscribe: mailto:[hidden email] For general help: mailto:[hidden email]?subject=help OW2 mailing lists service home page: http://www.ow2.org/wws |
Administrator
|
Cool! Thanks for letting us know. -Erik
2010/6/7 Legido Martínez, Isidoro <[hidden email]>: > Hi > I have just installed it and it's working better than perfect!! :-) > Thanks a lot for the fast reply! > Isi > > On 5 June 2010 00:29, Erik Bruchez <[hidden email]> wrote: >> >> The issue is now fixed. >> >> Bug: >> >> http://forge.ow2.org/tracker/index.php?func=detail&aid=315081&group_id=168&atid=350207 >> >> Commit: >> >> http://github.com/orbeon/orbeon-forms/commit/b1345cc65ede1b31ccc76782a35ab707d96c2643 >> >> Please let us know if this works for you! >> >> -Erik >> >> 2010/6/4 Legido Martínez, Isidoro <[hidden email]>: >> > Thanks a lot!!!! :-) >> > Isi >> > >> > On 4 June 2010 20:26, Erik Bruchez <[hidden email]> wrote: >> >> >> >> Isi, >> >> >> >> We managed to reproduce the issue and we are looking into it. >> >> >> >> -Erik >> >> >> >> 2010/6/4 Legido Martínez, Isidoro <[hidden email]>: >> >> > Sorry, I forgot the files! :-( >> >> > index.jsp >> >> > <?xml version="1.0" encoding="UTF-8"?> >> >> > <html xmlns="http://www.w3.org/1999/xhtml" >> >> > xmlns:XAdES="http://uri.etsi.org/01903/v1.2.2#" >> >> > xmlns:cat="urn:oasis:names:tc:ubl:CommonAggregateTypes:1.0:0.70" >> >> > xmlns:cct="urn:oasis:names:tc:ubl:CoreComponentTypes:1.0:0.70" >> >> > xmlns:ccts="urn:oasis:names:tc:ubl:CoreComponentParameters:1.0:0.70" >> >> > xmlns:cert="http://www.catcert.cat/X509ProfileSchema_v1.2#" >> >> > xmlns:ds="http://www.w3.org/2000/09/xmldsig#" >> >> > xmlns:etsi="http://uri.etsi.org/2038/v1.1.1#" >> >> > xmlns:ev="http://www.w3.org/2001/xml-events" >> >> > xmlns:fn="http://www.w3.org/2005/xpath-functions" >> >> > xmlns:isi="[hidden email]" >> >> > xmlns:order="urn:oasis:names:tc:ubl:Order:1.0:0.70" >> >> > xmlns:xacml="urn:oasis:names:tc:xacml:2.0:policy:schema:os" >> >> > xmlns:xf="http://www.w3.org/2002/xforms" >> >> > xmlns:xs="http://www.w3.org/2001/XMLSchema" >> >> > xmlns:xsd="http://www.w3.org/2001/XMLSchema" >> >> > xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" >> >> > xmlns:xxforms="http://orbeon.org/oxf/xml/xforms"> >> >> > <head> >> >> > <xf:model id="default"> >> >> > <xf:instance id="datos" xmlns=""> >> >> > <tmp/> >> >> > </xf:instance> >> >> > <!-- THAT WORKS! >> >> > <xf:instance id="datos" xmlns=""> >> >> > <SignaturePolicy xmlns="http://uri.etsi.org/2038/v1.1.1#" >> >> > xmlns:XAdES="http://uri.etsi.org/01903/v1.2.2#" >> >> > xmlns:ds="http://www.w3.org/2000/09/xmldsig#" >> >> > xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" >> >> > xsi:schemaLocation="http://uri.etsi.org/2038/v1.1.1# >> >> > signaturePolicy_etsi_tr_102_038.xsd"> >> >> > <SignPolicyInfo> >> >> > <SignatureValidationPolicy> >> >> > <CommonRules> >> >> > <TimeStampTrustCondition> >> >> > <TtsCertificateTrustTrees> >> >> > <CertificateTrustPoint/> >> >> > </TtsCertificateTrustTrees> >> >> > </TimeStampTrustCondition> >> >> > </CommonRules> >> >> > </SignatureValidationPolicy> >> >> > </SignPolicyInfo> >> >> > </SignaturePolicy> >> >> > </xf:instance> >> >> > --> >> >> > <xf:instance id="file2Upload"> >> >> > <tmp xmlns=""> >> >> > <file filename="" mediatype="" size=""/> >> >> > </tmp> >> >> > </xf:instance> >> >> > <xf:instance id="template" xmlns=""> >> >> > <SignaturePolicy xmlns="http://uri.etsi.org/2038/v1.1.1#" >> >> > xmlns:XAdES="http://uri.etsi.org/01903/v1.2.2#" >> >> > xmlns:n2="http://www.altova.com/samplexml/other-namespace" >> >> > xmlns:ds="http://www.w3.org/2000/09/xmldsig#" >> >> > xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> >> >> > <SignPolicyInfo> >> >> > <SignatureValidationPolicy> >> >> > <CommonRules> >> >> > <TimeStampTrustCondition> >> >> > <TtsCertificateTrustTrees> >> >> > <CertificateTrustPoint> >> >> > <PathLenConstraint/> >> >> > </CertificateTrustPoint> >> >> > </TtsCertificateTrustTrees> >> >> > </TimeStampTrustCondition> >> >> > </CommonRules> >> >> > </SignatureValidationPolicy> >> >> > </SignPolicyInfo> >> >> > </SignaturePolicy> >> >> > </xf:instance> >> >> > <xf:submission id="servlet-submission" method="post" >> >> > ref="instance('file2Upload')" resource="loadFile.jsp" >> >> > replace="instance" >> >> > instance="datos"/> >> >> > </xf:model> >> >> > </head> >> >> > <body> >> >> > <h1>Select instance Data</h1> >> >> > <xf:group appearance="full" ref="instance('file2Upload')"> >> >> > <div> >> >> > <xf:upload ref="file"> >> >> > <xf:label>File</xf:label> >> >> > <xf:filename ref="@filename"/> >> >> > <xf:mediatype ref="@mediatype"/> >> >> > <xf:size ref="@size"/> >> >> > </xf:upload> >> >> > </div> >> >> > <div> >> >> > <xf:trigger> >> >> > <xf:label>Submit</xf:label> >> >> > <xf:action ev:event="DOMActivate"> >> >> > <xf:send submission="servlet-submission"/> >> >> > </xf:action> >> >> > </xf:trigger> >> >> > </div> >> >> > </xf:group> >> >> > <xf:group ref="etsi:SignPolicyInfo"> >> >> > <xf:label/> >> >> > <xf:group ref="etsi:SignatureValidationPolicy"> >> >> > <xf:label/> >> >> > <xf:group ref="etsi:CommonRules"> >> >> > <xf:label/> >> >> > <xf:group ref="etsi:TimeStampTrustCondition"> >> >> > <xf:label/> >> >> > <xf:group ref="etsi:TtsCertificateTrustTrees"> >> >> > <xf:label/> >> >> > <xf:trigger> >> >> > <xf:label>ADD etsi:CertificateTrustPoint</xf:label> >> >> > <xf:insert ev:event="DOMActivate" context="." at="last()" >> >> > position="after" >> >> > nodeset="child::element()[local-name()='CertificateTrustPoint']" >> >> > >> >> > >> >> > origin="instance('template')/etsi:SignPolicyInfo/etsi:SignatureValidationPolicy/etsi:CommonRules/etsi:TimeStampTrustCondition/etsi:TtsCertificateTrustTrees/etsi:CertificateTrustPoint"/> >> >> > </xf:trigger> >> >> > <xf:repeat nodeset="etsi:CertificateTrustPoint"> >> >> > <xf:group ref="."> >> >> > <xf:label/> >> >> > <xf:trigger ref=".[count(etsi:PathLenConstraint) < 1]"> >> >> > <xf:label>ADD etsi:PathLenConstraint</xf:label> >> >> > <xf:insert ev:event="DOMActivate" context="." at="last()" >> >> > position="after" >> >> > nodeset="child::element()[local-name()='PathLenConstraint']" >> >> > >> >> > >> >> > origin="instance('template')/etsi:SignPolicyInfo/etsi:SignatureValidationPolicy/etsi:CommonRules/etsi:TimeStampTrustCondition/etsi:TtsCertificateTrustTrees/etsi:CertificateTrustPoint/etsi:PathLenConstraint"/> >> >> > </xf:trigger> >> >> > <xf:repeat nodeset="etsi:PathLenConstraint"> >> >> > <xf:input ref="."> >> >> > <xf:label/> >> >> > </xf:input> >> >> > </xf:repeat> >> >> > </xf:group> >> >> > </xf:repeat> >> >> > </xf:group> >> >> > </xf:group> >> >> > </xf:group> >> >> > </xf:group> >> >> > </xf:group> >> >> > </body> >> >> > </html> >> >> > loadFile.jsp >> >> > <%@page import="java.io.*" %> >> >> > <% >> >> > File file = new File("/tmp/SignaturePolicy.xml"); >> >> > BufferedReader in = new BufferedReader(new InputStreamReader(new >> >> > FileInputStream(file), "UTF-8")); >> >> > String inputLine; >> >> > response.setContentType("application/xml"); >> >> > while ((inputLine = in.readLine()) != null) { >> >> > out.println(inputLine); >> >> > } >> >> > in.close(); >> >> > %> >> >> > SignaturePolicy.xml >> >> > <SignaturePolicy xmlns="http://uri.etsi.org/2038/v1.1.1#" >> >> > xmlns:XAdES="http://uri.etsi.org/01903/v1.2.2#" >> >> > xmlns:ds="http://www.w3.org/2000/09/xmldsig#" >> >> > xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" >> >> > xsi:schemaLocation="http://uri.etsi.org/2038/v1.1.1# >> >> > signaturePolicy_etsi_tr_102_038.xsd"> >> >> > <SignPolicyInfo> >> >> > <SignatureValidationPolicy> >> >> > <CommonRules> >> >> > <TimeStampTrustCondition> >> >> > <TtsCertificateTrustTrees> >> >> > <CertificateTrustPoint/> >> >> > </TtsCertificateTrustTrees> >> >> > </TimeStampTrustCondition> >> >> > </CommonRules> >> >> > </SignatureValidationPolicy> >> >> > </SignPolicyInfo> >> >> > </SignaturePolicy> >> >> > 2010/6/4 Legido Martínez, Isidoro <[hidden email]> >> >> >> >> >> >> Hi >> >> >> Finally I have simplified my files and I am now able to reproduce >> >> >> the >> >> >> error. >> >> >> So, I have the following files (I send attached the files and, in >> >> >> case >> >> >> it >> >> >> is a problem, copied at the end of the message): >> >> >> >> >> >> index.jsp. It is a JSP with the xform, but I have simplified it a >> >> >> lot, >> >> >> removing all the JSP stuff, styles,.... >> >> >> SignaturePolicy.xml The instance data, a simplified version of the >> >> >> original data >> >> >> loadFile.jsp The Xform has a button for loading the data, using the >> >> >> upload >> >> >> component. I have simplified this file so now, it returns always >> >> >> the SignaturePolicy.xml file >> >> >> >> >> >> How to reproduce the problem? >> >> >> >> >> >> If [ORBEON_HOME] is the home directory, create the >> >> >> folder [ORBEON_HOME]/xforms-jsp/SignaturePolicy >> >> >> Copy index.jsp and loadFile.jsp >> >> >> in [ORBEON_HOME]/xforms-jsp/SignaturePolicy >> >> >> Copy the SignaturePolicy.xml file somewhere in the file system >> >> >> (let's >> >> >> say >> >> >> in /tmp/SignaturePolicy.xml) >> >> >> Edit laodFile.jsp and change the SignaturePolicy.xml's path >> >> >> Load the form in http://.../xforms-jsp/SignaturePolicy >> >> >> The page shows an upload button and a Submit one. >> >> >> Press the upload button and choose any file. It does not matter >> >> >> which >> >> >> file, because loadFile.jsp is going to return always the same file. >> >> >> Press Submit >> >> >> Now, two buttons are shown. Press "ADD etsi:PathLenConstraint" >> >> >> The error arises. >> >> >> >> >> >> Now, some weird things: >> >> >> >> >> >> It the instance data is added directly in the index.jsp, it works >> >> >> fine >> >> >> (see the commented lines into the file). So, instead of >> >> >> >> >> >> <xf:instance id="datos" xmlns=""> >> >> >> <tmp/> >> >> >> </xf:instance> >> >> >> put >> >> >> <xf:instance id="datos" xmlns=""> >> >> >> <SignaturePolicy xmlns="http://uri.etsi.org/2038/v1.1.1#" >> >> >> xmlns:XAdES="http://uri.etsi.org/01903/v1.2.2#" >> >> >> xmlns:ds="http://www.w3.org/2000/09/xmldsig#" >> >> >> xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" >> >> >> xsi:schemaLocation="http://uri.etsi.org/2038/v1.1.1# >> >> >> signaturePolicy_etsi_tr_102_038.xsd"> <SignPolicyInfo> >> >> >> <SignatureValidationPolicy> <CommonRules> <TimeStampTrustCondition> >> >> >> <TtsCertificateTrustTrees> <CertificateTrustPoint/> >> >> >> </TtsCertificateTrustTrees> </TimeStampTrustCondition> >> >> >> </CommonRules> >> >> >> </SignatureValidationPolicy> </SignPolicyInfo> </SignaturePolicy> >> >> >> </xf:instance> >> >> >> >> >> >> If I press "ADD etsi:CertificateTrustPoint" it works: a new >> >> >> PathLenConstraint is created. Now, if I press "ADD >> >> >> etsi:PathLenConstraint", >> >> >> it works! >> >> >> >> >> >> Please, please, any idea? :-( So, I would think that has something >> >> >> to >> >> >> do >> >> >> with the Xform itself but then, why does it work with the data >> >> >> directly >> >> >> in >> >> >> the file? >> >> >> Thanks a lot, and I would really appreciate any hint. >> >> >> Isi >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> 2010/6/4 Legido Martínez, Isidoro <[hidden email]> >> >> >>> >> >> >>> Hi >> >> >>> I'm using JBoss5.0.1 + Orbeon 3.8.0.201005141856-CE + Firefox >> >> >>> 3.5.9. >> >> >>> I am developing a Xform for the SignaturePolicy schema. The Xform >> >> >>> is >> >> >>> not >> >> >>> too complicated (from a logical perspective) but it is very, very >> >> >>> long, with >> >> >>> a lot of repeated and nested elements. I have developed ADD/REMOVE >> >> >>> buttons >> >> >>> for adding/removing the repeated elements. My problem: I get, time >> >> >>> to >> >> >>> time, >> >> >>> the following error, when trying to add a new item >> >> >>> Repeat index was not set for repeat id ...... >> >> >>> The main problem I have is that is hard to me to reproduce this >> >> >>> error, >> >> >>> because I get it time to time. I am not sure if has something to >> >> >>> do >> >> >>> with >> >> >>> the instance data. >> >> >>> Sorry for the vague explanation, but I just send this message in >> >> >>> case >> >> >>> anybody has found this error before and can send me a clue :-) >> >> >>> Thanks a lot >> >> >>> Isi >> >> >> >> >> > >> >> > >> >> > >> >> > -- >> >> > You receive this message as a subscriber of the [hidden email] >> >> > mailing >> >> > list. >> >> > To unsubscribe: mailto:[hidden email] >> >> > For general help: mailto:[hidden email]?subject=help >> >> > OW2 mailing lists service home page: http://www.ow2.org/wws >> >> > >> >> > >> >> >> >> >> >> -- >> >> You receive this message as a subscriber of the [hidden email] >> >> mailing >> >> list. >> >> To unsubscribe: mailto:[hidden email] >> >> For general help: mailto:[hidden email]?subject=help >> >> OW2 mailing lists service home page: http://www.ow2.org/wws >> >> >> > >> > >> > >> > -- >> > You receive this message as a subscriber of the [hidden email] >> > mailing >> > list. >> > To unsubscribe: mailto:[hidden email] >> > For general help: mailto:[hidden email]?subject=help >> > OW2 mailing lists service home page: http://www.ow2.org/wws >> > >> > >> >> >> -- >> You receive this message as a subscriber of the [hidden email] mailing >> list. >> To unsubscribe: mailto:[hidden email] >> For general help: mailto:[hidden email]?subject=help >> OW2 mailing lists service home page: http://www.ow2.org/wws >> > > > > -- > You receive this message as a subscriber of the [hidden email] mailing > list. > To unsubscribe: mailto:[hidden email] > For general help: mailto:[hidden email]?subject=help > OW2 mailing lists service home page: http://www.ow2.org/wws > > -- You receive this message as a subscriber of the [hidden email] mailing list. To unsubscribe: mailto:[hidden email] For general help: mailto:[hidden email]?subject=help OW2 mailing lists service home page: http://www.ow2.org/wws |
Free forum by Nabble | Edit this page |