[OAI-implementers] XML Validation
   
    Hussein Suleman
     
    hussein@vt.edu
       
    Fri, 27 Sep 2002 11:18:55 -0400
    
    
  
hi
i didn't scrutinize too much, but here are some things to look at for 
starters:
- when i issued GetRecord, the record that came back had the wrong root 
node - "MTD-BR" as opposed to "Documento.teses" used in the schema
- the Identify response used the wrong schema (and namespace too?) for 
the toolkit portion so it did not validate
- ListIdentifiers did not work because the completeListSize is an empty 
string - if it appears in the XML, i think it has to be a positive integer
- you may need a "targetNamespace" attribute at the top of your schema - 
see the OAI protocol schema for an example of how its done
hope this is useful to you (and to others too)
ttfn,
----hussein
Ramon Martins Sodoma da Fonseca wrote:
> Hello again...
> 
> can anyone tell me what´s wrong with the validation of our proprietary
> XML...
> 
> you can test it with the OAI Explorer with this address:
> 
> http://bdtd.ibict.br/cgi-bin/ibict/oai.pl
> 
> 
> ................................................
> Ramón Fonseca
> Design Gráfico & Multimídia
> Desenvolvimento Web
> ramal: 6443
>        6447
> ................................................
> 
> 
-- 
======================================================================
hussein suleman - hussein@vt.edu - vtcs - http://www.husseinsspace.com
======================================================================