XML Editor
Sign up for a WebBoard account Sign Up Keyword Search Search More Options... Options
Chat Rooms Chat Help Help News News Log in to WebBoard Log in Not Logged in
Conferences Close Tree View
+ Stylus Studio Feature Requests (1168)
+ Stylus Studio Technical Forum (14416)
+ Website Feedback (244)
+ XSLT Help and Discussion (7593)
- XQuery Help and Discussion (1941)
-> - xquery rule execution (1)
-> + Loving XQuery (3)
-> + Cross Referencing Country Name... (4)
-> + Creating a Pivot Table with xQ... (2)
-> - Error Please Help (3)
-> ->Error Please Help
-> ->Error Please Help
-> - Error Please Help (1)
-> + XPath descendant question (2)
-> + java/lang/OutOfMemoryError Run... (2)
-> + Xquery key value lookup (8)
-> + Improve xQuery Performance (3)
-> + MS SQL Server - Disable order ... (10)
-> + proper use of fn:distinct-valu... (2)
-> + Ignore DTD (7)
-> - Thanks Ivan (1)
-> + Trying to get 2nd value of nod... (5)
-> + Outer joins (4)
-> + Figured Out Issues From Last P... (2)
-> + Best Way To Generate Complex X... (3)
-> + count in xquery (4)
-> + left/right presentation (3)
-- [1-20] [21-40] [41-60] Next
+ Stylus Studio FAQs (159)
+ Stylus Studio Code Samples & Utilities (363)
+ Stylus Studio Announcements (113)
Topic  
Postnext
Myron ChavezSubject: Error Please Help
Author: Myron Chavez
Date: 16 May 2013 12:01 PM
avax.xml.xquery.XQQueryException: [DataDirect][XQuery][err:XPTY0004]A sequence with more than one item does not match the type xs:untypedAtomic? according to the Sequence Type Matching rules.

at com.ddtek.xquery.xqj.Util.createXQQueryException(Util.java:341)

at com.ddtek.xquery.xqj.Util.createXQException(Util.java:241)

at com.ddtek.xquery.xqj.DDXQPreparedExpression.executeQuery(DDXQPreparedExpression.java:73)

Caused by: com.ddtek.xquery.util.XQueryException: [ME0010][DataDirect][XQuery][err:XPTY0004]A sequence with more than one item does not match the type xs:untypedAtomic? according to the Sequence Type Matching rules.

at com.ddtek.xquery.mediator.MediatorMessage.createQuantifierException(MediatorMessage.java:395)

at com.ddtek.xquery.mediator.MediatorMessage.createMoreThanOneQuantifierException(MediatorMessage.java:363)

at com.ddtek.xquery.mediator.plan.SourcePhysOpImpl.bindExternalVariable(SourcePhysOpImpl.java:1221)

at com.ddtek.xquery.mediator.plan.SourcePhysOpImpl.bindExternalVariable(SourcePhysOpImpl.java:1176)

at com.ddtek.xquery.mediator.plan.SourcePhysOpImpl.bindExternalVariables(SourcePhysOpImpl.java:1167)

at com.ddtek.xquery.mediator.plan.SourcePhysOpImpl.execute(SourcePhysOpImpl.java:660)

at com.ddtek.xquery.mediator.plan.JoinPhysOpImpl.generateNextXTuple(JoinPhysOpImpl.java:195)

at com.ddtek.xquery.mediator.plan.JoinPhysOpImpl.next(JoinPhysOpImpl.java:92)

at com.ddtek.xquery.mediator.plan.ProjectPhysOpImpl.next(ProjectPhysOpImpl.java:73)

at com.ddtek.xquery.mediator.plan.JoinPhysOpImpl.generateNextXTuple(JoinPhysOpImpl.java:198)

at com.ddtek.xquery.mediator.plan.JoinPhysOpImpl.next(JoinPhysOpImpl.java:92)

at com.ddtek.xquery.mediator.plan.ProjectPhysOpImpl.next(ProjectPhysOpImpl.java:73)

at com.ddtek.xquery.mediator.plan.ProjectPhysOpImpl.next(ProjectPhysOpImpl.java:73)

at com.ddtek.xquery.mediator.plan.ReturnPhysOpImpl.getNextSequenceUngrouper(ReturnPhysOpImpl.java:106)

at com.ddtek.xquery.mediator.plan.ReturnPhysOpImpl.next(ReturnPhysOpImpl.java:63)

at com.ddtek.xquery.mediator.plan.ExecutionPlanImpl.next(ExecutionPlanImpl.java:1176)

at com.ddtek.xquery.mediator.plan.DefaultPlanIterator.next(DefaultPlanIterator.java:143)

at com.ddtek.xquery.mediator.plan.ExecutionPlanImpl.fetchAllForUpdate(ExecutionPlanImpl.java:1737)

at com.ddtek.xquery.mediator.plan.ExecutionPlanImpl.executeSqlUpdateQuery(ExecutionPlanImpl.java:301)

at com.ddtek.xquery.mediator.plan.ExecutionPlanImpl.executeQuery(ExecutionPlanImpl.java:205)

at com.ddtek.xquery.mediator.plan.ExecutionContextImpl.executeQuery(ExecutionContextImpl.java:325)

at com.ddtek.xquery.xqj.DDXQAbstractExpression.startExecution(DDXQAbstractExpression.java:564)

at com.ddtek.xquery.xqj.DDXQPreparedExpression.executeQuery(DDXQPreparedExpression.java:68)

Postnext
Ivan PedruzziSubject: Error Please Help
Author: Ivan Pedruzzi
Date: 16 May 2013 12:24 PM
This XQuery expression is trying to pass a sequence of items to a function which is expecting an atomic value, most likely the XPath expression it's missing a positional predicate.

Which Stylus Studio version have you purchased?
Can you post your Installation ID which can be found in the Stylus Studio about box?

Stylus Studio Team

Posttop
Myron ChavezSubject: Error Please Help
Author: Myron Chavez
Date: 16 May 2013 12:27 PM
Installation ID= 4858290-219275311
Build 1910j

   
Download A Free Trial of Stylus Studio 6 XML Professional Edition Today! Powered by Stylus Studio, the world's leading XML IDE for XML, XSLT, XQuery, XML Schema, DTD, XPath, WSDL, XHTML, SQL/XML, and XML Mapping!  
go

Log In Options

Site Map | Privacy Policy | Terms of Use | Trademarks
Stylus Scoop XML Newsletter:
W3C Member
Stylus Studio® and DataDirect XQuery ™are from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2016 All Rights Reserved.