Hi,
I am trying to figure out how to allow the use of @xml:lang in an .xqm. I've been using it before without the need to add any declaration, but in this case I am getting an error:
Unexpected error: Improper use? Potential bug? Your feedback is welcome: Contact: basex-talk@mailman.uni-konstanz.de Version: BaseX 7.7.2 Java: Apple Inc., 1.6.0_65 OS: Mac OS X, i386 Stack Trace: ...
I am able to reproduce the error and get rid of it simply by adding or removing @xml:lang attributes in my content.
I have attached a simple example, you'll need a db named tests to receive the result.
- If you run the .xqm as is, you should get the unexpected error.
- If you remove all @xml:lang="en-us" in the function test-nodes:get-trans-units-1(), the result node will be saved in the tests db.
What am I missing?
Hi France, It looks like it might be the same as an issue I found [1]. Fixed for me by the 7.8 beta.
Regards /Andy
[1] https://github.com/BaseXdb/basex/issues/780#issuecomment-27771795
On Wed, Dec 18, 2013 at 4:22 PM, France Baril france.baril@architextus.comwrote:
Hi,
I am trying to figure out how to allow the use of @xml:lang in an .xqm. I've been using it before without the need to add any declaration, but in this case I am getting an error:
Unexpected error: Improper use? Potential bug? Your feedback is welcome: Contact: basex-talk@mailman.uni-konstanz.de Version: BaseX 7.7.2 Java: Apple Inc., 1.6.0_65 OS: Mac OS X, i386 Stack Trace: ...
I am able to reproduce the error and get rid of it simply by adding or removing @xml:lang attributes in my content.
I have attached a simple example, you'll need a db named tests to receive the result.
If you run the .xqm as is, you should get the unexpected error.
If you remove all @xml:lang="en-us" in the function test-nodes:get-trans-units-1(), the result node will be saved in the tests db.
What am I missing?
-- France Baril Architecte documentaire / Documentation architect france.baril@architextus.com (514) 572-0341
BaseX-Talk mailing list BaseX-Talk@mailman.uni-konstanz.de https://mailman.uni-konstanz.de/mailman/listinfo/basex-talk
Does look similar, thanks!
On Wed, Dec 18, 2013 at 11:42 AM, Andy Bunce bunce.andy@gmail.com wrote:
Hi France, It looks like it might be the same as an issue I found [1]. Fixed for me by the 7.8 beta.
Regards /Andy
[1] https://github.com/BaseXdb/basex/issues/780#issuecomment-27771795
On Wed, Dec 18, 2013 at 4:22 PM, France Baril < france.baril@architextus.com> wrote:
Hi,
I am trying to figure out how to allow the use of @xml:lang in an .xqm. I've been using it before without the need to add any declaration, but in this case I am getting an error:
Unexpected error: Improper use? Potential bug? Your feedback is welcome: Contact: basex-talk@mailman.uni-konstanz.de Version: BaseX 7.7.2 Java: Apple Inc., 1.6.0_65 OS: Mac OS X, i386 Stack Trace: ...
I am able to reproduce the error and get rid of it simply by adding or removing @xml:lang attributes in my content.
I have attached a simple example, you'll need a db named tests to receive the result.
If you run the .xqm as is, you should get the unexpected error.
If you remove all @xml:lang="en-us" in the function test-nodes:get-trans-units-1(), the result node will be saved in the tests db.
What am I missing?
-- France Baril Architecte documentaire / Documentation architect france.baril@architextus.com (514) 572-0341
BaseX-Talk mailing list BaseX-Talk@mailman.uni-konstanz.de https://mailman.uni-konstanz.de/mailman/listinfo/basex-talk
basex-talk@mailman.uni-konstanz.de