Hi folks, Well it's been a long time since the list has seen any discussion surrounding the code in the org.apache.xerces.impl.v1 package. As people will recall, the original intent was to port the old Xerces1 schema code in the v1 directory while the new schema design was taking shape in the v2 directory. Since the new design is moving along well--it can compile and might even be able to validate some kinds of simple schemas even in its current condition--I'd like to propose that the v1 package be done away with. If no one is using it or planning to work with it there's no point in having it around; and at any rate having it on the main line encourages v2 code to rely on v1 classes, something that must be avoided. So if no one cares I'll remove it; if only one person does I'll put it on a branch (unless they veto me :-)) and if more people care then speak up and let us know what's up! :-) Assuming the v1 package goes away and that the new design keeps moving forward at a good pace, we'll need to think about packaging it. Any and all ideas solicited here; but here's a first cut at a proposal: - move the code in v2.xpath to util.xpath - port/move the v1.util.regex package to util.regex - move the v2.XSD*Traverser, v2.SubstitutionGroupHandler, XSDocumentInfo and XSDHandler classes to impl.schema.traversers - move v2.CMBuilder, XSSimpleCM, XSCMValidator to impl.schema.models - move v2.identity.* and v2.datatypes.* to schema.identity and schema.datatypes respectively - modify xni.parsers.XMLEntityResolver and impl.validation.GrammarPool and/or add some new XNI classes to reflect the Grammar caching discussion - rename impl.validation to impl.dtd to reflect the fact that only DTD-related stuff lives there - leave the rest of the contents of v2 in the schema package (SchemaGrammar, SchemaSymbols, the XS*Decl classes perhaps, the error infrastructure etc.) - find a sensible home for v2.SAXParser, v2.SchemaParser, v2.SchemaParserConfiguration In the kind of validation scheme we seem to be converging towards, there's not going to be much common between DTD's and schemas. So perhaps there's no need for an impl/common directory; maybe things like the base Grammar (abstract/interface) could live somewhere under the xni package? (I hope this isn't too sacreligious Andy! :-)) At any rate we'll surely need to modify some of the XNI interfaces if we develop some kind of a LocationHint interface to help resolve the location of grammars... Anyway, there's some food for thought. I'm really hoping that people interested in v1 will speak up quickly though; I for one am quite interested in seeing this stuff disappear. Cheers! Neil Neil Graham XML Parser Development IBM Toronto Lab Phone: 416-448-3519, T/L 778-3519 E-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
