A factory-factory! You're on your way to pattern fame. On Tuesday 07 March 2006 13:37, Brian Minchau (JIRA) wrote: > [ > http://issues.apache.org/jira/browse/XALANJ-2264?page=comments#action_12369 >309 ] > > Brian Minchau commented on XALANJ-2264: > --------------------------------------- > > Comments on more possible complications: > There are two factories, SAXParserFactory and DocumentBuilderFactory. > SAXParserFactory has a setFeature() method and SAXParser has a > setProperty() method, so things can be set on either the factory or the > parser itself. > > Each has different ways of setting features. Each is created in different > locations in Xalan, so one bit of code might have access to options from > Process command line, but other locations in the code where a factory is > created. > > The FLAVOR can be set on the Process command line and this also affects > which factories are in use, and this could influence the validity of what > is being set on the factory. > > Xalan might need a super-factory to create a factory, just so that the > super-factory can set features on the factory in a consistent way (i.e. to > set features based on the Process command line). > > > Supporting xi:include (and other factory features) on xalan Process > > command-line > > ------------------------------------------------------------------------- > >------- > > > > Key: XALANJ-2264 > > URL: http://issues.apache.org/jira/browse/XALANJ-2264 > > Project: XalanJ2 > > Type: New Feature > > Components: Xalan-CmdLine > > Versions: Latest Development Code > > Environment: all > > Reporter: Rudolf Weber > > Attachments: xalan-xi.patch.txt > > > > The xi:include-awareness should be specifiable on the command-line. > > The default is on, since I think in the normal case it is useful. > > In the special case, the default has to be swiched off with -NIA. > > (Of course, it may be good keep the current behavior on default. I > > think, that the xi:include is not in wide use, so I want to risk to > > change the default. ) In our project we want to include declarations in a > > programming language in the xslt-file, so the option -XSLIA.
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
