Re: [xml] Validating using IO parser context



On Thu, Aug 30, 2001 at 02:15:40PM +0200, Henke, Markus wrote:

  That said if you require extensions I may provide them, or fix code
if there is problems.

I'll look for the place where the parserContext for the externalLoader
is created. Maybe there's a chance to deliver some information from
document-context to loader-context...

  Right, but the way the external loader is created is not simple,
first it goes through the SAX interface which makes things harder,
then it also depends on whether the parser is validating or not ...

  If you find the routine where both parser contexts are accessible I
will propagate the _private field (like I did previously for Matt Sergeant).
  http://bugzilla.gnome.org/show_bug.cgi?id=54322
  
  I didn't closed that bug because I agree with the argument that a
more general context framework is needed incorporating this kind of
extensibility needs and encapsulating what is currently done with global
variables. Problem is that I don't see how to do this without either
very convoluted code or API changes, so it's kept as a TODO so far ...

Daniel

-- 
Daniel Veillard      | Red Hat Network http://redhat.com/products/network/
veillard redhat com  | libxml Gnome XML XSLT toolkit  http://xmlsoft.org/
http://veillard.com/ | Rpmfind RPM search engine http://rpmfind.net/




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]