is the encoding directive case sensitive

A

Andy Fish

hi,

is there any difference between these two declarations

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

which is the "more" correct?

Andy
 
R

Richard Tobin

Andy Fish said:
is there any difference between these two declarations

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

The XML spec says that processors "SHOULD" be match encoding names
case-insensitively. "SHOULD" is a technical term, less strong than
"MUST", but I can't see any reason why a processor would not do it.

-- Richard
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,755
Messages
2,569,536
Members
45,013
Latest member
KatriceSwa

Latest Threads

Top