(no subject)

classic Classic list List threaded Threaded
6 messages Options
Reply | Threaded
Open this post in threaded view
|

(no subject)

Ryan Puddephatt
Hi all,
 
I'm using oxf:xforms-submission processor and it is returning the following exception when my XML has a default namespace

org.w3c.dom.DOMException: NAMESPACE_ERR: An attempt is made to create or change an object in a way which is incorrect with regard to namespaces.

Is this a bug?

Ryan
 

Ryan Puddephatt
Software Engineer
 

Teleflex Group - IT UK
1 Michaelson Square
Livingston
West Lothian
Scotland
EH54 7DP
 
e> [hidden email]
t> +44(0)1506 407 110
f> +44(0)1506 407 108
w> www.teleflex.com

 


--
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
ObjectWeb mailing lists service home page: http://www.objectweb.org/wws
Reply | Threaded
Open this post in threaded view
|

Re:

Erik Bruchez
Administrator
Ryan,

Do you have the latest code? This was meant to be fixed earlier in the week.

-Erik

Ryan Puddephatt wrote:

> Hi all,
>  
> I'm using oxf:xforms-submission processor and it is returning the
> following exception when my XML has a default namespace
>
> org.w3c.dom.DOMException: NAMESPACE_ERR: An attempt is made to create or
> change an object in a way which is incorrect with regard to namespaces.
>
> Is this a bug?
>
> Ryan
>  
>
> Ryan Puddephatt
> Software Engineer
>  
>
> Teleflex Group - IT UK
> 1 Michaelson Square
> Livingston
> West Lothian
> Scotland
> EH54 7DP
>  
> e> [hidden email] <mailto:[hidden email]>
> t> +44(0)1506 407 110
> f> +44(0)1506 407 108
> w> www.teleflex.com <http://www.teleflex.com/>
>
>  

--
Orbeon - XForms Everywhere:
http://www.orbeon.com/blog/



--
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
ObjectWeb mailing lists service home page: http://www.objectweb.org/wws
Reply | Threaded
Open this post in threaded view
|

RE:

Ryan Puddephatt
I think mine is about a week old :-) I'll try updating, Also I noticed your
rest APIs for exists in the DMV example. Do you setup the exists database
any different? The nightly builds aren't distributed with the data so I
can't check! How you've set it up to return the values like you have

Ryan

Ryan Puddephatt
Software Engineer

Teleflex Group - IT UK
1 Michaelson Square
Livingston
West Lothian
Scotland
EH54 7DP

e> [hidden email]
t> +44(0)1506 407 110
f> +44(0)1506 407 108

 

>-----Original Message-----
>From: Erik Bruchez [mailto:[hidden email]] On Behalf Of
>Erik Bruchez
>Sent: 13 October 2006 12:00
>To: [hidden email]
>Subject: Re: [ops-users]
>
>Ryan,
>
>Do you have the latest code? This was meant to be fixed
>earlier in the week.
>
>-Erik
>
>Ryan Puddephatt wrote:
>> Hi all,
>>  
>> I'm using oxf:xforms-submission processor and it is returning the
>> following exception when my XML has a default namespace
>>
>> org.w3c.dom.DOMException: NAMESPACE_ERR: An attempt is made
>to create
>> or change an object in a way which is incorrect with regard
>to namespaces.
>>
>> Is this a bug?
>>
>> Ryan
>>  
>>
>> Ryan Puddephatt
>> Software Engineer
>>  
>>
>> Teleflex Group - IT UK
>> 1 Michaelson Square
>> Livingston
>> West Lothian
>> Scotland
>> EH54 7DP
>>  
>> e> [hidden email] <mailto:[hidden email]>
>> t> +44(0)1506 407 110
>> f> +44(0)1506 407 108
>> w> www.teleflex.com <http://www.teleflex.com/>
>>
>>  
>
>
>--
>Orbeon - XForms Everywhere:
>http://www.orbeon.com/blog/
>
>



--
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
ObjectWeb mailing lists service home page: http://www.objectweb.org/wws
Reply | Threaded
Open this post in threaded view
|

Re: exist REST APIs from XForms

Erik Bruchez
Administrator
Ryan,

 > Also I noticed your rest APIs for exists in the DMV example. Do you
 > setup the exists database any different? The nightly builds aren't
 > distributed with the data so I can't check! How you've set it up to
 > return the values like you have

We committed changes to the DMV Forms example to use the eXist REST
API directly from XForms instead of using the XML:DB processors. This
makes the example go from almost 40 files to just 21 files (and that
includes better modularization between the summary and detail
pages). The main difference is that we use the eXist servlet, but that
was already configured in web.xml for a long time.

-Erik

--
Orbeon - XForms Everywhere:
http://www.orbeon.com/blog/




--
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
ObjectWeb mailing lists service home page: http://www.objectweb.org/wws
Reply | Threaded
Open this post in threaded view
|

RE: exist REST APIs from XForms

Ryan Puddephatt
I notice you document-id element is generated, but I can't find where this
is? Is it in OPS or Exist?

Ryan

Ryan Puddephatt
Software Engineer

Teleflex Group - IT UK
1 Michaelson Square
Livingston
West Lothian
Scotland
EH54 7DP

e> [hidden email]
t> +44(0)1506 407 110
f> +44(0)1506 407 108

 

>-----Original Message-----
>From: Erik Bruchez [mailto:[hidden email]] On Behalf Of
>Erik Bruchez
>Sent: 13 October 2006 13:42
>To: [hidden email]
>Subject: Re: [ops-users] exist REST APIs from XForms
>
>Ryan,
>
> > Also I noticed your rest APIs for exists in the DMV
>example. Do you  > setup the exists database any different?
>The nightly builds aren't  > distributed with the data so I
>can't check! How you've set it up to  > return the values like you have
>
>We committed changes to the DMV Forms example to use the eXist
>REST API directly from XForms instead of using the XML:DB
>processors. This makes the example go from almost 40 files to
>just 21 files (and that includes better modularization between
>the summary and detail pages). The main difference is that we
>use the eXist servlet, but that was already configured in
>web.xml for a long time.
>
>-Erik
>
>--
>Orbeon - XForms Everywhere:
>http://www.orbeon.com/blog/
>
>
>



--
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
ObjectWeb mailing lists service home page: http://www.objectweb.org/wws
Reply | Threaded
Open this post in threaded view
|

Re: exist REST APIs from XForms

Erik Bruchez
Administrator
We use the document name in the collection, obtained in the summary page
with:

   xmldb:get-child-resources($collection-name)

See persistence-model.xml. Creating a new document, which requires
generating a new document name, is not yet implemented (or
de-implemented since this worked before when we used the XML:DB
processors). Coming soon ;-)

-Erik

-Erik

Ryan Puddephatt wrote:

> I notice you document-id element is generated, but I can't find where this
> is? Is it in OPS or Exist?
>
> Ryan
>
> Ryan Puddephatt
> Software Engineer
>
> Teleflex Group - IT UK
> 1 Michaelson Square
> Livingston
> West Lothian
> Scotland
> EH54 7DP
>
> e> [hidden email]
> t> +44(0)1506 407 110
> f> +44(0)1506 407 108
>
>  
>
>> -----Original Message-----
>> From: Erik Bruchez [mailto:[hidden email]] On Behalf Of
>> Erik Bruchez
>> Sent: 13 October 2006 13:42
>> To: [hidden email]
>> Subject: Re: [ops-users] exist REST APIs from XForms
>>
>> Ryan,
>>
>>> Also I noticed your rest APIs for exists in the DMV
>> example. Do you  > setup the exists database any different?
>> The nightly builds aren't  > distributed with the data so I
>> can't check! How you've set it up to  > return the values like you have
>>
>> We committed changes to the DMV Forms example to use the eXist
>> REST API directly from XForms instead of using the XML:DB
>> processors. This makes the example go from almost 40 files to
>> just 21 files (and that includes better modularization between
>> the summary and detail pages). The main difference is that we
>> use the eXist servlet, but that was already configured in
>> web.xml for a long time.
>>
>> -Erik
>>
>> --
>> Orbeon - XForms Everywhere:
>> http://www.orbeon.com/blog/
>>
>>
>>
>
>
>
> ------------------------------------------------------------------------
>
>
> --
> 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
> ObjectWeb mailing lists service home page: http://www.objectweb.org/wws

--
Orbeon - XForms Everywhere:
http://www.orbeon.com/blog/



--
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
ObjectWeb mailing lists service home page: http://www.objectweb.org/wws