Hello, I write a file xml from same data woth this way:
out.write("<tag attt=\""number\">");
out.write( content );
out.write("</tag>");
.........................................
out.write("<tag attt=\""number\">");
out.write( content );
out.write("</tag>");
.........................................
To copy to clipboard, switch view to plain text mode
Now, sometimes code is (I notice it only now):
align=center><FONT
so I have it as text in a node. And it is ok. But when I read that xml (using this libraries in java)
import javax.xml.parsers.DocumentBuilder;
import javax.xml.parsers.DocumentBuilderFactory;
import org.w3c.dom.Document;
import org.w3c.dom.Element;
import org.w3c.dom.NamedNodeMap;
import org.w3c.dom.Node;
import org.w3c.dom.NodeList;
import javax.xml.parsers.DocumentBuilder;
import javax.xml.parsers.DocumentBuilderFactory;
import org.w3c.dom.Document;
import org.w3c.dom.Element;
import org.w3c.dom.NamedNodeMap;
import org.w3c.dom.Node;
import org.w3c.dom.NodeList;
To copy to clipboard, switch view to plain text mode
the parser crash saying that
Element type "FONT" must be followed by either attribute specifications, ">" or "/>".
I need: or detect this strange content while I write the xml and discard it, or use a parser that permit that as text.
Hope it is clear, thanks,
Bookmarks