[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qexo-general] CUP and JFlex for Qexo
From: |
Joseph Coffland |
Subject: |
Re: [Qexo-general] CUP and JFlex for Qexo |
Date: |
Tue, 24 Feb 2004 15:54:06 -0500 |
Per Bothner,
> If we want access to the PSVI then Qexo needs to access the data
> structures that Xerces2-J uses to represent types. So we're tied
> to Xerces anyway. I think using XNI will be more efficient, so
> I think we should use it.
Maybe. I don't like the way XNI's augmentations use strings to
lookup values. You can use SAX + org.apache.xerces.xs.PSVIProvider
from XMLSchema interface to do the same thing. You can use
the following code to get at PSVIProvider.
SAXParser parser = <create SAXParser>
PSVIProvider psviProvider = null;
if (parser instanceof PSVIProvider)
psviProvider = (PSVIProvider) parser;
Regards,
Joseph
--
Joseph Coffland
address@hidden
[Qexo-general] XQuery as CGI scripts, Jun Yu, 2004/02/21
- Re: [Qexo-general] CUP and JFlex for Qexo,
Joseph Coffland <=