From: Manuel Guesdon (mguesdon+ml@oxymium.net)
Date: Thu Sep 21 2000 - 03:40:24 EDT
Hello,
I'd like to parse HTML file with xml parser so people can change DTDs (adding tags,...) without having to re-compile libxml.
The main problem is "Auto Closed" tag.
So I'd like to know some things:
Can I safetely mix html and xml parser functions (i.e. construct a context with xmlCreateMemoryParserCtxt() and parse the doc with htmlParseDocument. My SAX functions use parser context _private member) ? It works with version 2.2.3 but will it works with next versions ?
Another solution would be use xml parser only but how can I manage auto close tags ?
BTW, I've noticed few things in last version:
- there's no htmlCreateMemoryParserCtxt() public function
- Definitions of SAX handlers like
xmlSAXHandler sgmlDefaultSAXHandler = {
internalSubset,
NULL,
...
doesn't define externalSubset.
- html parser seems to not call xmlLoadExternalEntity
Thank you for your help !
Manuel
-- ---- Message from the list xml@rpmfind.net Archived at : http://xmlsoft.org/messages/ to unsubscribe: echo "unsubscribe xml" | mail majordomo@rpmfind.net
This archive was generated by hypermail 2b29 : Thu Sep 21 2000 - 04:43:11 EDT