diff options
-rw-r--r-- | sca-java-1.x/branches/sca-java-1.6.1/demos/xml-bigbank/src/main/resources/customer.xsd | 6 | ||||
-rw-r--r-- | sca-java-1.x/branches/sca-java-1.6.1/demos/xml-bigbank/src/main/resources/stock.xq | 2 |
2 files changed, 4 insertions, 4 deletions
diff --git a/sca-java-1.x/branches/sca-java-1.6.1/demos/xml-bigbank/src/main/resources/customer.xsd b/sca-java-1.x/branches/sca-java-1.6.1/demos/xml-bigbank/src/main/resources/customer.xsd index b22efb74c4..ba86fb44ee 100644 --- a/sca-java-1.x/branches/sca-java-1.6.1/demos/xml-bigbank/src/main/resources/customer.xsd +++ b/sca-java-1.x/branches/sca-java-1.6.1/demos/xml-bigbank/src/main/resources/customer.xsd @@ -17,15 +17,15 @@ * specific language governing permissions and limitations * under the License. --> -<schema xmlns="http://www.w3.org/2001/XMLSchema" xmlns:tns="http://exmaple.com/customer" - targetNamespace="http://exmaple.com/customer" elementFormDefault="qualified"> +<schema xmlns="http://www.w3.org/2001/XMLSchema" xmlns:tns="http://example.com/customer" + targetNamespace="http://example.com/customer" elementFormDefault="qualified"> <element name="customer" type="tns:Customer" /> <complexType name="Customer"> <sequence> <element name="id" type="string"></element> <element name="firstName" type="string"></element> <element name="lastName" type="string"></element> - <element name="accounts" type="string"></element> + <element name="accounts" type="tns:Accounts"></element> </sequence> </complexType> <complexType name="Accounts"> diff --git a/sca-java-1.x/branches/sca-java-1.6.1/demos/xml-bigbank/src/main/resources/stock.xq b/sca-java-1.x/branches/sca-java-1.6.1/demos/xml-bigbank/src/main/resources/stock.xq index 03c19e457d..3b6e3a85b2 100644 --- a/sca-java-1.x/branches/sca-java-1.6.1/demos/xml-bigbank/src/main/resources/stock.xq +++ b/sca-java-1.x/branches/sca-java-1.6.1/demos/xml-bigbank/src/main/resources/stock.xq @@ -34,7 +34,7 @@ declare function stock:calculate($quoteDoc, $accountDoc) as xs:double { sum(
for $a in $accountDoc/c:customer/c:accounts/c:saving
return $a/@balance
- ), "Saving Blance")
+ ), "Saving Balance")
let $value :=
trace(
|