Well I've been using xerces to parse WML files. As they are
valid XML after all. But if the doc type refers to an external 
link, the wap dtd,  you might want to strip it off, or make
it point to a local file.

Dw.

> Zhang Tao wrote:
> 
> Hello:
> 
>    I want to know whether I can use xerces-c parse a wml file. When I
> try the sample program saxcount , and pass a  wml file as its
> parameter, I got an assertion failure.In detail,
>     File:dbgdel.cpp
>     Line:47
>     Expression:_BLOCK_TYPE_IS_VALID(pHead->nBlockUse)
> 
>    I note some xml parsers (like expat ) can parse the file according
> to "Doctype" in an xml file, can xerces-c do it?
> 
>     (I have some trouble to connect to Net, so sorry for bother.)
> 
>     Many Thanks.

Reply via email to