This example is lovely, but it doesn't use schemas. 
Have you got a successful example of that?  By
"successful", I mean an example that will succeed AND
fail to validate.

Every document I feed to Xerces with a schema is
parsed and "validated" successfully, even those that I
believe should fail.  It tells me that I probably
don't tell Xerces where the .xsd file is correctly.

--- "Werner, Sven" <[EMAIL PROTECTED]> wrote:
> Hi!
> Look At: http://ecerami.com/xerces/
> <http://ecerami.com/xerces/>  Theres an
> Example of an validating parser written with xerces!
>  
> 
> -----Urspr�ngliche Nachricht-----
> Von: Matt Minyard [mailto:[EMAIL PROTECTED]
> Gesendet am: Donnerstag, 22. Februar 2001 17:29
> An: [EMAIL PROTECTED]
> Betreff: Validation ?
> 
> Hi, 
>  
>     I'm having a problem using the validating
> feature.  I'm using the
> following code to create the parser and set
> validiation to true (I thought),
> but documents with invalid tags are not generating
> exceptoins.  Any ideas?
>  
> dom = new DOMParser();
> dom.setFeature("
> http://xml.org/sax/features/validation
> <http://xml.org/sax/features/validation> ", true);
>  
> Thanks,
>  
> Matt
> 
> 
>
---------------------------------------------------------------------
> To unsubscribe, e-mail:
> [EMAIL PROTECTED]
> For additional commands, e-mail:
> [EMAIL PROTECTED]
> 


__________________________________________________
Do You Yahoo!?
Yahoo! Auctions - Buy the things you want at great prices! 
http://auctions.yahoo.com/

Reply via email to