Hi, Maybe this is just a URI problem for XMLSchema and XMLSchema-Instance. Just check the date ! 2000/10 (XMLSchema CR) instead of 1999
then, try to use : xmlns:xsd="http://www.w3.org/2000/10/XMLSchema" instead of : xmlns:xsd="http://www.w3.org/1999/XMLSchema" and : xmlns:xsi="http://www.w3.org/2000/10/XMLSchema-instance" instead of : xmlns:xsi="http://www.w3.org/1999/XMLSchema-instance" > > <xsd:schema > xmlns:xsd="http://www.w3.org/1999/XMLSchema" > xmlns:per="http://localhost/~devel/per.xsd" > targetNamespace="http://localhost/~devel/per.xsd"> > > > <xsd:element name="listaNomi"> > <xsd:complexType> > <xsd:sequence> > <xsd:element ref="per:persona" > maxOccurs="unbounded"/> > </xsd:sequence> > </xsd:complexType> > </xsd:element> > > > <xsd:element name="persona"> > <xsd:complexType> > <xsd:sequence> > <xsd:element name="nome" type="xsd:string" /> > <xsd:element name="cognome" type="xsd:string" /> > </xsd:sequence> > </xsd:complexType> > </xsd:element> > > </xsd:schema> > > > and this is my very simple xml file: > > <?xml version="1.0"?> > > <listaNomi > xmlns="http://localhost/~devel/per.xsd" > xmlns:xsi="http://www.w3.org/1999/XMLSchema-instance" > xsi:schemaLocation="http://localhost/~devel/per.xsd > http://localhost/~devel/per.xsd"> > > <persona> > <nome>luca</nome> > <cognome>rasconi</cognome> > </persona> > </listaNomi> > > when i try to validate the xml file, application teel > me that all the element present in the xml document > must be declared. > what's the problem? > > thank in advance. > > ______________________________________________________________________ > Do You Yahoo!? > Il tuo indirizzo gratis e per sempre @yahoo.it su http://mail.yahoo.it > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > >
