[xsde-users] Valid but XSD/e reports unexpected element

Kjell Svensson iftroja at live.com
Sun May 9 06:33:46 EDT 2010


Works perfect, thank you.

/Kjell

> Date: Sun, 9 May 2010 09:52:18 +0200
> From: boris at codesynthesis.com
> To: iftroja at live.com
> CC: xsde-users at codesynthesis.com
> Subject: Re: [xsde-users] Valid but XSD/e reports unexpected element
> 
> Hi Kjell,
> 
> Kjell Svensson <iftroja at live.com> writes:
> 
> > <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" 
> >            xmlns:tns="http://www.example.org/iosystem" 
> >            targetNamespace="http://www.example.org/iosystem" 
> > [...]
> > 
> > The code:
> >     IOSignal_paggr iosignalp;
> > 
> >     xml_schema::document_pimpl doc_p (iosignalp.root_parser (),
> >                                       iosignalp.root_name ());
> 
> Your schema has target namespace so the above two lines should
> be:
> 
> xml_schema::document_pimpl doc_p (iosignalp.root_parser (),
>                                   iosignalp.root_namespace (),
>                                   iosignalp.root_name ());
> 
> Boris
 		 	   		  
_________________________________________________________________
Your E-mail and More On-the-Go. Get Windows Live Hotmail Free.
https://signup.live.com/signup.aspx?id=60969


More information about the xsde-users mailing list