Hi,
I saw this problem once when I was debugging. It seems that the SDO
XMLReader doesn't define the xsi namespace when it adds the xsi:type. But I
don't this problem with the sample-xquery-quote.
Can you print out the path for the transformation chain? It might help.
Thanks,
Raymond
----- Original Message -----
From: "ant elder" <[EMAIL PROTECTED]>
To: <tuscany-dev@ws.apache.org>
Sent: Tuesday, September 18, 2007 12:06 AM
Subject: Re: [jira] Created: (TUSCANY-1735) quote-xquery sample failing to
build
Is this sample failing to build for anyone else or is it just me?
...ant
On 9/18/07, ant elder (JIRA) <tuscany-dev@ws.apache.org> wrote:
quote-xquery sample failing to build
------------------------------------
Key: TUSCANY-1735
URL: https://issues.apache.org/jira/browse/TUSCANY-1735
Project: Tuscany
Issue Type: Bug
Affects Versions: Java-SCA-1.0
Reporter: ant elder
Fix For: Java-SCA-1.0
INFO: Added Servlet mapping:
http://localhost:8085/AvailQuoteProviderService
Error on line 2 column 39
SXXP0003: Error reported by XML parser: The prefix "xsi" for attribute
"xsi:type"
associated with an element type "priceQuote" is not bound.
net.sf.saxon.trans.DynamicError: org.xml.sax.SAXParseException: The
prefix
"xsi" for attribute "xsi:type" associated with an element type
"priceQuote"
is not bound.
at net.sf.saxon.event.Sender.sendSAXSource(Sender.java:278)
at net.sf.saxon.event.Sender.send(Sender.java:144)
at net.sf.saxon.event.Sender.send(Sender.java:46)
at net.sf.saxon.event.Builder.build(Builder.java:209)
at net.sf.saxon.event.Builder.build(Builder.java:161)
at
org.apache.tuscany.sca.implementation.xquery.XQueryInvoker.prepareParameters
(XQueryInvoker.java:247)
at
org.apache.tuscany.sca.implementation.xquery.XQueryInvoker.doInvoke(
XQueryInvoker.java:144)
at
org.apache.tuscany.sca.implementation.xquery.XQueryInvoker.invoke(
XQueryInvoker.java:185)
at
org.apache.tuscany.sca.core.databinding.wire.DataTransformationInteceptor.invoke
(DataTransformationInteceptor.java:73)
at
org.apache.tuscany.sca.core.databinding.wire.PassByValueInteceptor.invoke(
PassByValueInteceptor.java:49)
at
org.apache.tuscany.sca.core.invocation.JDKInvocationHandler.invoke(
JDKInvocationHandler.java:233)
at
org.apache.tuscany.sca.core.invocation.JDKInvocationHandler.invoke(
JDKInvocationHandler.java:130)
at $Proxy21.joinPriceAndAvailQuotes(Unknown Source)
at xquery.quote.QuoteJoinLocalImpl.joinPriceAndAvailQuotes(
QuoteJoinLocalImpl.java:53)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(
NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(
DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at
org.apache.tuscany.sca.implementation.java.invocation.JavaImplementationInvoker.invoke
(JavaImplementationInvoker.java:105)
at
org.apache.tuscany.sca.core.invocation.JDKInvocationHandler.invoke(
JDKInvocationHandler.java:233)
at
org.apache.tuscany.sca.core.invocation.JDKInvocationHandler.invoke(
JDKInvocationHandler.java:130)
at $Proxy12.joinPriceAndAvailQuotes(Unknown Source)
at xquery.quote.XQueryQuoteClientTestCase.testQuoteJoin(
XQueryQuoteClientTestCase.java:94)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(
NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(
DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.junit.internal.runners.TestMethodRunner.executeMethodBody(
TestMethodRunner.java:99)
at org.junit.internal.runners.TestMethodRunner.runUnprotected(
TestMethodRunner.java:81)
at org.junit.internal.runners.BeforeAndAfterRunner.runProtected(
BeforeAndAfterRunner.java:34)
at org.junit.internal.runners.TestMethodRunner.runMethod(
TestMethodRunner.java:75)
at org.junit.internal.runners.TestMethodRunner.run(
TestMethodRunner.java:45)
at
org.junit.internal.runners.TestClassMethodsRunner.invokeTestMethod(
TestClassMethodsRunner.java:75)
at org.junit.internal.runners.TestClassMethodsRunner.run(
TestClassMethodsRunner.java:36)
at org.junit.internal.runners.TestClassRunner$1.runUnprotected(
TestClassRunner.java:42)
at org.junit.internal.runners.BeforeAndAfterRunner.runProtected(
BeforeAndAfterRunner.java:34)
at org.junit.internal.runners.TestClassRunner.run(
TestClassRunner.java:52)
at org.apache.maven.surefire.junit4.JUnit4TestSet.execute(
JUnit4TestSet.java:62)
at
org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.executeTestSet(
AbstractDirectoryTestSuite.java:138)
at
org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.execute(
AbstractDirectoryTestSuite.java:125)
at org.apache.maven.surefire.Surefire.run(Surefire.java:132)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(
NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(
DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at
org.apache.maven.surefire.booter.SurefireBooter.runSuitesInProcess(
SurefireBooter.java:290)
at org.apache.maven.surefire.booter.SurefireBooter.main(
SurefireBooter.java:818)
Caused by: org.xml.sax.SAXParseException: The prefix "xsi" for attribute
"xsi:type" associated with an element type "priceQuote" is not bound.
at
org.apache.xerces.util.ErrorHandlerWrapper.createSAXParseException(Unknown
Source)
at org.apache.xerces.util.ErrorHandlerWrapper.fatalError(Unknown
Source)
at org.apache.xerces.impl.XMLErrorReporter.reportError(Unknown
Source)
at org.apache.xerces.impl.XMLErrorReporter.reportError(Unknown
Source)
at
org.apache.xerces.impl.XMLNSDocumentScannerImpl.scanStartElement(Unknown
Source)
at
org.apache.xerces.impl.XMLNSDocumentScannerImpl$NSContentDispatcher.scanRootElementHook(Unknown
Source)
at
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(Unknown
Source)
at
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown
Source)
at org.apache.xerces.parsers.XML11Configuration.parse(Unknown
Source)
at org.apache.xerces.parsers.XML11Configuration.parse(Unknown
Source)
at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown
Source)
at
org.apache.xerces.jaxp.SAXParserImpl$JAXPSAXParser.parse(Unknown
Source)
at net.sf.saxon.event.Sender.sendSAXSource(Sender.java:270)
... 46 more
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]