I read a message that said that the encoding must be UTF-8, so I used Notepad to
change the encoding of every file in DocBook, including the ISO entity
files (a total of about 30 files!). No luck. Still get the same result.
For your information changing the encoding PI doesn't change the file encoding.
Notepad doesn't know anything about XML. You have to use a XML Rditor like Stylus to change the encoding (Edit -> Change Encoding)
Subject:Converting DTD to XSD with the Wizard Author:Roger Shuttleworth Date:01 Aug 2004 08:20 PM
Hi Ivan
Thanks for your reply. I kinda thought that DocBook was available as schema
but couldn't find it.
I will try the encoding change that you mention (though I am away on
vacation next week 8^). It wasn't a processing instruction I changed -
at least, not it an XML file. I opened in Notepad, then did a Save As.
changing the encoding selection to UTF-8. If that doesn't change it in the file,
what is the option there for?
Subject:Converting DTD to XSD with the Wizard Author:Ivan Pedruzzi Date:01 Aug 2004 11:33 PM
Roger,
<?xml version="1.0" encoding="UTF-8"?>
Above you can see an example of XML PI that defines the XML version and the character encoding.
If the XML PI is missing the encoding is assumed to be UTF-8.
The encoding PI has to be in synch with the file encoding other ways you end up with an invalid XML document.
Change encoding should always be done with XML aware tools.