clipped from: mail-archives.apache.org   
1) The DocumentBuilder for Sun does not include ignorable white space as Text nodes (Xerces JAXP with the underlying DOMParser does). 2) The DocumentBuilder.parse( String uri ) for Sun requires a URI when accessing a file (e.g. file:account.xml) whereas Xerces does not require a proper URI (e.g. account.xml).