> Andy Clark wrote:
> * actually read it in to build the standard configuration
> * allow users to quickly and easily make custom configs
> * write a tool that reads the parser configuration and
> generate the code for that config
>
> The last one seems more appropriate. Imagine a tool that
> reads in your parser configuration description and then
> generates the configuration class, and the JAXP impl that
> will instantiate the various parsers using that config.
Does that mean once we are ready with this kind of tool we
can override the functionality of "BasicparserConfiguration" ?? and
"StandardparesrConfiguration" of Xerces2.
i was thinking what all XML config file should contain, list of
a)New components (that implements XNI Component interface) and standard
components of xerces2 for the pipeline.
b)Properties and features recognised by new parser coniguration.
c)Some kind of option for the usage of "SymbolTable","GrammarPool" in this
configuration.
or do we need to set something more for the configuration of parser as per XNI ?
I have few questions about XNI,
1.is it possible in XNI,that once i set the configuration and it is loaded, i can
change it
again during the parse OR for next parse ?
2.
XMLValidator implements XMLComponent,XMLDocumentHandler,...
XMLNamespaceBinder implements XMLComponent, XMLDocumentHandler
AbstractXMLDocumentParser implements XMLDocumentHandler,..
what i could understand is that they are different components (handlers) configured
for
pipeline , so that document event can be passed to the next component as configured in
pipeline and if in b/w component doesn't return anything or the parser is configured
not to
use that component, then the next component will be used in the pipeline.
if yes, then why parser being final target of events doesn't implement XMLComponent of
XNI.
3.To add to that,
what is the basic requirement for a new component to be the part of pipeline ?
> Did you get any takers? I'd like to get more familiar with this parser
> > config scheme so I may have some time to help out.
>
> Nope.
I would like myself to involve in XNI world, I am there to help u !!
-- Neeraj Bajaj
SUN Microsystems, inc.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]