** Low Priority **
Peter thanks for your reply. Here are answers to your questions:
>> In an application I use, an error is generated on the xml line:
>> <?xml version='1.0' encoding='UTF-8'?>
>What is the exact error message you get?
The error is from a Z39.86 validator:
<detail>File 59006.opf does not have UTF-8 encoding definition.</detail>
> because it doesn't recognize the UTF-8 encoding.
> This is due to the single quotes.
>If it is failing to recognise the quotes then the problem is nothing to
>do with the UTF-8 encoding. If it's failing to recognise the quotes then
>t will be failing on the '1.0' version, not the 'UTF-8' encoding.
>> I checked the XML standard but it wasn't so clear:
>The XML Standard should be clear on this: see productions 24 and 80
>VersionInfo ::= S 'version' Eq ("'" VersionNum "'" | '"' VersionNum '"')
> EncodingDecl ::= S 'encoding' Eq ('"' EncName '"' | "'" EncName "'" )
It looks like both altternatives in the EBNF above use the double quotes. Shouldn't
one be a single quote?
>So your file is correct and your software is probably broken.
>What are you using, may I ask?
An in house validator of Z39.86 digital books.