Corrections to Chapter 16 of XML in a Nutshell, 3rd edition, XML As A Data Format

p. 266: In Example 16-4, remove the extra http:// from the namespace URIs for xmlns:xsi and xmlns:xsd. That is, change

<SOAP-ENV:Envelope
xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:xsi="http://http://www.w3.org/2001/XMLSchema-instance"
xmlns:xsd="http://http://www.w3.org/2001/XMLSchema">

to

<SOAP-ENV:Envelope
xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:xsd="http://www.w3.org/2001/XMLSchema">

p. 266: In Example 16-5, change xmlns:env to xmlns:SOAP-ENV and add a namespace declaration for the xsd and xsi prefixes. That is, change

<SOAP-ENV:Envelope
xmlns:env="http://schemas.xmlsoap.org/soap/envelope/">

to

<SOAP-ENV:Envelope
xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:xsd="http://www.w3.org/2001/XMLSchema">

[ XML in a Nutshell Corrections | XML in a Nutshell Home Page | Table of Contents | Examples | Order from Amazon ]

Copyright 2005 Elliotte Rusty Harold
elharo@metalab.unc.edu
Last Modified March 18, 2005