To XML:XML Błąd: Dodatkowa treść na końcu dokumentu
<?xml version="1.0" encoding="ISO-8859-1"?>
<document>
<name>Sample Document</name>
<type>document</type>
<url>http://nsc-component.webs.com/Office/Editor/new-doc.html?docname=New+Document&titletype=Title&fontsize=9&fontface=Arial&spacing=1.0&text=&wordcount3=0</url>
</document>
<document>
<name>Sample</name>
<type>document</type>
<url>http://nsc-component.webs.com/Office/Editor/new-doc.html?docname=New+Document&titletype=Title&fontsize=9&fontface=Arial&spacing=1.0&text=&</url>
</document>
Kiedy go otworzyć to mówi: This page contains the following errors: error on line 8 at column 1: Extra content at the end of the document
Ale kiedy tam jest tylko to:
<document>
<name>Sample</name>
<type>document</type>
<url>http://nsc-component.webs.com/Office/Editor/new-doc.html?docname=New+Document&titletype=Title&fontsize=9&fontface=Arial&spacing=1.0&text=&</url>
</document>
W porządku. Dlaczego to mówi, gdy jest dwa?
Możliwy duplikat [Błąd w wierszu 2 w kolumnie 1: Dodatkowa treść na końcu dokumentu] (http://stackoverflow.com/questions/4544272/error -on-line-2-at-column-1-extra-content-at-the-end-of-the-document) –