We need jaxp too since it's not part of the xerces jar in Debian.

Index: netbeans-7.0.1+dfsg1/libs.xerces/nbproject/project.properties
===================================================================
--- netbeans-7.0.1+dfsg1.orig/libs.xerces/nbproject/project.properties	2011-08-10 19:12:58.000000000 +0100
+++ netbeans-7.0.1+dfsg1/libs.xerces/nbproject/project.properties	2012-02-10 21:16:23.432574294 +0000
@@ -42,5 +42,6 @@
 
 is.autoload=true
 release.external/xerces-2.8.0.jar=modules/ext/xerces-2.8.0.jar
+release.external/jaxp-1.4.jar=modules/ext/jaxp-1.4.jar
 module.jar.verifylinkageignores=org.apache.xerces.util.XMLCatalogResolver
 spec.version.base=1.22.1
Index: netbeans-7.0.1+dfsg1/libs.xerces/nbproject/project.xml
===================================================================
--- netbeans-7.0.1+dfsg1.orig/libs.xerces/nbproject/project.xml	2011-08-10 19:12:58.000000000 +0100
+++ netbeans-7.0.1+dfsg1/libs.xerces/nbproject/project.xml	2012-02-10 21:16:59.008126975 +0000
@@ -56,6 +56,10 @@
                 <runtime-relative-path>ext/xerces-2.8.0.jar</runtime-relative-path>
                 <binary-origin>external/xerces-2.8.0.jar</binary-origin>
             </class-path-extension>
+            <class-path-extension>
+                <runtime-relative-path>ext/jaxp-1.4.jar</runtime-relative-path>
+                <binary-origin>external/jaxp-1.4.jar</binary-origin>
+            </class-path-extension>
         </data>
     </configuration>
 </project>
