[relaxng-user] Re: Can Jing simply ignore <!DOCTYPE ..>

Bob Foster bob at objfac.com
Mon Feb 2 19:52:41 ICT 2004


I believe this means that in order to implement -standalone, MSV had to 
use a Xerces-dependent option. Not all parsers support the ability to 
ignore a DOCTYPE declaration. (Though I don't know, it is probably the 
case that Crimson doesn't, or MSV would likely support it, too, for this 
feature.)

It does _not_ mean that if you select this option, Xerces will validate 
instead of MSV.

Bob Foster
http://xmlbuddy.com/

Kohsuke Kawaguchi wrote:
 >>Dear Mr. Kawaguchi,
 >>
 >>Thanks for your response.
 >>
 >>First, I am not an expert in this area, and I appreciate the reference
 >>to MSV, which I wasn't aware of before.  I now have it installed and
 >>working.
 >>
 >>The documentation of the -standalone option in msv says:
 >>
 >>"The switch prevents MSV from resolving external resources (such
 >>as external DTDs referenced from documents, or external entities).
 >>This is applicable ONLY WHEN YOU ARE USING Xerces."
 >>
 >>(emphasis added)
 >>
 >>Indeed, when I specify -standalone, MSV tries to use Xerces rather
 >>than Relax NG.  I could of course be doing something wrong, but
 >>that's what it looks like to me.
 >
 >
 > Yeah, MSV will use Xerces as a parser to do the RELAX NG validation.
 > Xerces will be only used as a parser, then MSV will do the RELAX NG
 > validation.
 >
 > I don't see anything wrong with this.
 >
 > regards,
 > --
 > Kohsuke Kawaguchi
 > Sun Microsystems                   kohsuke.kawaguchi at sun.com




More information about the relaxng-user mailing list