hi
i currently used netbeans . i working with xml file with sax .
my code is :
my program run correctly but when clean and build this project get this error :
1-C:\p1\src\javaapplication1\XMLHandler.java:13: package com.sun.xml.internal.ws.util.xml does not exist
import com.sun.xml.internal.ws.util.xml.CDATA;
and get this warnings :
1- C:\p1\src\javaapplication1\XMLHandler.java:11: warning: com.sun.org.apache.xml.internal.serialize.OutputFormat is Sun proprietary API and may be removed in a future release
import com.sun.org.apache.xml.internal.serialize.OutputFormat;
2-C:\p1\src\javaapplication1\XMLHandler.java:12: warning: com.sun.org.apache.xml.internal.serialize.XMLSerializer is Sun proprietary API and may be removed in a future release
import com.sun.org.apache.xml.internal.serialize.XMLSerializer;
You're using classes from com.sun.* packages. You're not supposed to use those classes directly - they are not part of the public API of the Java platform and do not exist on all versions of Java. Re-write your program so that you don't use classes from the com.sun.* packages. Use the classes and interfaces in javax.xml.* instead, for example.