I may be away from the mailing lists for a few weeks but I wanted to post some changes before I left. I didn't commit it directly to the CVS repository because we are still in discussions on the mailing list. So please continue the discussion and feel free to use apply any part of my diff that applies.
Here are the list of changes that I've made: * Added Augmentations to document fragment handler interface. * Added Augmentations to DTD handler and DTD content model handler interfaces. * Changed XMLDTDHandler#characters to ignoredCharacters. * Changed XMLDocumentHandler#start/endEntity to start/end- GeneralEntity. * Changed XMLDTDHandler#start/endEntity to start/endParameter- Entity. * Changed start/endXXXEntity method to pass the new XMLResourceIdentifier instead of separate parameters. * Added XMLDTDHandler#start/endExternalSubset methods. * Updated all source and sample code for the interface changes. * Added util.XMLResourceIdentifierImpl class. The changes are pretty massive and affect a large portion of the system. However, I ran the OASIS conformance suite and did not notice any regressions from beta4. In fact, the number of failures went down but I'm figuring that is from the various changes we've made since the beta4 release. There is still a lot to do, though. Even if my patches are accepted and used, some additional testing should be done to ensure that everything still works as expected. In addition, I've noticed some things in the code that should be fixed/ updated/changed. Some of these include: * I think that the Augmentations should be passed as null for performance reasons by the document scanner. This would require changes to the document scanner and the XML Schema validator which adds PSVI augmentations to the pipeline. I made the DTD scanner pass a null parameter for the augmentations already but did not touch the document scanner in this regard. If you choose to disregard my suggestion, then you need to change the code so that the augmentations are cleared before calling each handler method. (Hence my preference that we allow null to be passed.) * There is still the matter of changes requested by James Clark in his bug reports. Most have to do with adding addition resource identifier information to various DTD handler methods. Refer to my previous post for a list of relevent bug numbers. * I made a lot of changes but didn't make every effort to keep the javadoc in sync. It just required more work than I had time to do. Granted, this is much lower priority than some other things. Also, the XNI Manual documentation should be updated to match any changes that we make. I'll be back on the list as soon as I return but hopefully sooner. -- Andy Clark * [EMAIL PROTECTED]
xni-changes.zip
Description: Zip compressed data
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
