Saturday Aug 31

A pseudo attribute name is expected. error in XML file

PDF Print E-mail
Monday, 30 April 2012 09:32
AddThis Social Bookmark Button

xml problem : A pseudo attribute name is expected

A pseudo attribute name is expected

If you get the message "A pseudo attribute name is expected" when validating your xml file you have probably done a mistake typing your encoding declaration.

The culprit code should look like :

<?xml version="1.0" encoding="UTF-8">

instead of

<?xml version="1.0" encoding="UTF-8"?>

There is a very small difference and it has nothing to do with the description of the error message. You have forgotten a question mark at the end of your encoding declaration.

Tags: file , attribute , pseudo , encoding , encoding= , utf-8 , version= , declaration

Add comment


Security code
Refresh

Java Tutorial on Facebook