Re: SWAP Example

According to an email from Lisa:
> Whoops, I just noticed errors in my own construction.  The d: and z:
> prefixes should be all lower-case or all upper-case.  I mistakenly entered
> them as upper-case in the namespace declarations.
> 
> You're welcome,
> Lisa

Let me know if this fixes it.  (I don't have a copy of IE 5.0).

Richard Heim wrote:
> 
> Just a note:
>         When I run this example through IE 5.0 (which has XML support), I
> get the following error:
> Reference to undeclared namespace prefix: 'd'. Line 2, Position 25
> <d:swap xmlns:D="SWAP:">
> 
> thanks,
> rich heim
> 
> > -----Original Message-----
> > From: Lisa Lippert (Dusseault) (Exchange)
> > [SMTP:lisal@exchange.microsoft.com]
> > Sent: Wednesday, December 02, 1998 5:38 PM
> > To:   'Gregory Alan Bolcer'
> > Cc:   'ietf-swap@w3.org'
> > Subject:      RE: SWAP Example
> >
> > Looks good to me, except you didn't use the current namespace syntax.  Now
> > the namespace is declared the first time it is used.  Also don't forget to
> > close your xml tag.  Here is the first example fixed up:
> >
> > <?xml version="1.0" ?>
> > <d:swap xmlns:D="SWAP:">
> >   <d:observer>http://www.ics.uci.edu/pub/ietf/swap/chair.html</d:observer>
> >   <d:name>equipment-purchase-process</d:name>
> >   <d:subject>procurement</d:subject>
> >   <d:description>New equipment purchase</d:description>
> >   <d:contextData>
> >     <z:processor
> > xmlns:Z="http://conf.pcmanufact.com/">pentiumII</z:processor>
> >     <z:memory>
> >       <z:size>256 Meg</z:size>
> >       <z:speed>60 ns</z:speed>
> >       <z:type>DRAM</z:type>
> >     </z:memory>
> >   <!-- "name, billing address, etc." -->
> >   </d:contextData>
> >   <d:startImmediately>no</d:startImmediately><!-- "available?"-->
> > </d:swap>
> > </xml>
> >
> >
> > Lisa
> >
> >

Received on Thursday, 3 December 1998 12:38:43 UTC