There is only 1 line in my XML file:
<?xml version="1.0" encoding="UAT-8" standalone="yes"?>
But the XMLSpy 2008 reports error:
File C:\Untitled8.xml is not well-formed.
Character 's' is grammatically unexpected
Reason: one of the following is expected (see below)
'?>'
Details
XML production: Production 'TextDecl' not satisfied
When I removed standalone=”yes”, this xml file can pass the validation. Why?
Thanks a lot.
<?xml version="1.0" encoding="UAT-8" standalone="yes"?>
But the XMLSpy 2008 reports error:
File C:\Untitled8.xml is not well-formed.
Character 's' is grammatically unexpected
Reason: one of the following is expected (see below)
'?>'
Details
XML production: Production 'TextDecl' not satisfied
When I removed standalone=”yes”, this xml file can pass the validation. Why?
Thanks a lot.