validate:xsd

Wednesday, 27 May 2015 · 3 messages · last reply 2 Jun 2015
FB
France Baril27 May 2015 07:20 #
Hi,
The function returns incomplete error messages on 8.2. It makes it
difficult to figure out what the problem is. *validate:xsd*(*$node*,
*$staged-xsd*) returns:
Stopped at /Users/archie/BX-Acc/webapp/Accounting_ValidationSchemas.xqm, 13/41: [bxerr:BXVA0001] Validation failed. "Fatal:The version is required i... I'd really like to see what ... stands for. Is it possible to get more complete messages? Regards, France
-- France Baril Architecte documentaire / Documentation architect france.baril at architextus.com
ML
Marco Lettere27 May 2015 08:37 #
Hi France, If you don't need the exception behaviour you could use validate:xsd-info which retuns all the messages completely. BR, Marco.
Quoted text · basex-talk-bounces at mailman.uni-konstanz.de · 15 lines
From: basex-talk-bounces at mailman.uni-konstanz.de <basex-talk-bounces at mailman.uni-konstanz.de> on behalf of France Baril <france.baril at architextus.com> Sent: Wednesday, May 27, 2015 5:19:50 AM To: BaseX Subject: [basex-talk] validate:xsd Hi, The function returns incomplete error messages on 8.2. It makes it difficult to figure out what the problem is. validate:xsd($node, $staged-xsd) returns: Stopped at /Users/archie/BX-Acc/webapp/Accounting_ValidationSchemas.xqm, 13/41: [bxerr:BXVA0001] Validation failed. "Fatal:The version is required i... I'd really like to see what ... stands for. Is it possible to get more complete messages? Regards, France -- France Baril Architecte documentaire / Documentation architect france.baril at architextus.com<mailto:france.baril at architextus.com>
FB
France Baril2 Jun 2015 03:26 #
Ah! And I think, I had that same conversation (question/answer) before for another project! Thanks!
Quoted text · Marco Lettere · 38 lines
On Tue, May 26, 2015 at 11:37 PM, Marco Lettere <marco.lettere at dedalus.eu> wrote: > > Hi France, > If you don't need the exception behaviour you could use validate:xsd-info > which retuns all the messages completely. > BR, > Marco. > ------------------------------ > *From:* basex-talk-bounces at mailman.uni-konstanz.de < > basex-talk-bounces at mailman.uni-konstanz.de> on behalf of France Baril < > france.baril at architextus.com> > *Sent:* Wednesday, May 27, 2015 5:19:50 AM > *To:* BaseX > *Subject:* [basex-talk] validate:xsd > > Hi, > > The function returns incomplete error messages on 8.2. It makes it > difficult to figure out what the problem is. *validate:xsd*(*$node*, > *$staged-xsd*) returns: > > Stopped at /Users/archie/BX-Acc/webapp/Accounting_ValidationSchemas.xqm, 13/41: > [bxerr:BXVA0001] Validation failed. "Fatal:The version is required i... > > I'd really like to see what ... stands for. Is it possible to get more complete messages? > > Regards, > > France > > > > -- > France Baril > Architecte documentaire / Documentation architect > france.baril at architextus.com >
-- France Baril Architecte documentaire / Documentation architect france.baril at architextus.com

⚡Generated with XQuery