OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

 


 

   Re: [xml-dev] How Can I Know My XML is Valid With XML Schema Without DTD

[ Lists Home | Date Index | Thread Index ]

> Li Bing wrote:

> It is time for me to use XML Schema instead of DTD because each one
> talks about XML schema. Although I think it is unnecessary to use XML
> schema, I have to change.

If you don't need XML Schemas, don't use them. DTDs work very well for
many XML documents.

> But until now, I am still not clear how I can know my XML files are
> valid with XML schemas without DTDs. Anyone can give me help?

You can either use a stand-alone schema validator (such as XSV or Sun's
Multi-Schema Validator) or a parser that supports XML Schemas (such as
Xerces).

-- Ron

> 
> Thanks so much in advance!
> Li Bing
> 
> 
>                         _.--"""--._
>                       .'       '-. `.
>                    __/__    (-.   `\ \
>                   /o `o \      \    \ \
>                  _\__.__/ ))    |    | ;
>             .--;"               |    |  \
>            (    `)              |    |   \
>           _|`---' .'      _,   _|    |    `\
>         '`_\  \     '_,.-';_.-`\|     \     \_
>         .'  '--'---;`  / /     |\     |_..--' \
>                    \'-'.'     .--'.__/    __.-;
>                     `"`      (___...---''`     \
>                              _/_                \
>                             /ASU\ libing@asu.edu
>                             \___/ 480-965-9038(L), 602-743-9767(C)
>                             http://www.public.asu.edu/~libing

-- 
Ronald Bourret
Programming, Writing, and Research
XML, Databases, and Schemas
http://www.rpbourret.com




 

News | XML in Industry | Calendar | XML Registry
Marketplace | Resources | MyXML.org | Sponsors | Privacy Statement

Copyright 2001 XML.org. This site is hosted by OASIS