Hi Elliotte: > >I think this JSR needs to take a very serious look at how the >standardization of SAX/DOM/TrAX within the JDK/JRE hinders the >development and use of those specifications within the Java >community. JAXP compatibility has been a significant drag on the XML >Apache Project for some time and others as well. JDOM, for instance, >has had to handcraft its code to avoid compile time dependence on >JAXP. See for instance, this thread: >http://lists.denveronline.net/lists/jdom-interest/2003-February/012086.html > >In particular, changes that need to be adoipted include: > >1. The parser and other libraries must not be part of the classes.zip >file that holds the core Java library. I do think a parser and >implementation should ship with the JDK. However, it should be able >to be easily overridden or replaced by the end user. It should not be >necessary to know the magic jre/lib/endorsed incantations just to >choose a different parser. User parsers and implementations anywhere >in the classpath should override the default parser. >
I agree with the problem users are facing to override the parser/transformer that is part of JDK. To avoid this problem and to allow users to override the parser/transformer with new parser/transformer ( for eg. from Apache ) , Sun is planning to rename the parser/transformer classes that would go into next JDK release. With this change users can override the parser/transformer just by putting the latest version in CLASSPATH ( As the names of classes are different ). Thanks -Ramesh >-- > >+-----------------------+------------------------+-------------------+ >| Elliotte Rusty Harold | [EMAIL PROTECTED] | Writer/Programmer | >+-----------------------+------------------------+-------------------+ >| Processing XML with Java (Addison-Wesley, 2002) | >| http://www.cafeconleche.org/books/xmljava | >| http://www.amazon.com/exec/obidos/ISBN%3D0201771861/cafeaulaitA | >+----------------------------------+---------------------------------+ >| Read Cafe au Lait for Java News: http://www.cafeaulait.org/ | >| Read Cafe con Leche for XML News: http://www.cafeconleche.org/ | >+----------------------------------+---------------------------------+
