Yes, that was much more common in the past, but Sun moved a lot of classes
to com.sun.org.apache.* in (IIRC) Java 5 and later.

Cheers
Niclas

On Jun 6, 2009 9:27 PM, "Philippe Lhoste" <[email protected]> wrote:

On 06/06/2009 12:56, Niclas Hedhman wrote: > > I think I have only seen one
> accepted reason for de...
Like the org.w3c.dom, org.xml.sax or org.omg packages in official Java API.

For the anecdote, I have hit an issue there, showing not everything is
solved by packages: at work we have a xerces.jar in the list of libraries we
use, not sure what for or where it is used.
Anyway, when I wanted to use Sun's integrated XML support (based on Xerces
too, as you know) and needed something from org.w3c.dom, Eclipse was
confused because it looked at the older implementation in xerces.jar and
told me some function wasn't available even if it was documented in Java
API!
Note that it compiled and ran fine...

-- Philippe Lhoste --  (near) Paris -- France --  http://Phi.Lho.free.fr --
 --  --  --  --  --  ...

Reply via email to