You can tell the difference between different versions of a dtd by giving
it a different name when you change it. For instance, the dtd for the SVG
file format contains a yyyymmdd style date as part of its name. This
makes it very easy to see what version dtd a document was written to.
This information should be given in the first or second line of the
document in the <!doctype ...> tag.
Alternatively, if the XML document uses namespaces, you would just use a
different identifier for the namespace.
James.
--
Email: [EMAIL PROTECTED]
WWW: http://www.daa.com.au/~james/
On Wed, 10 Nov 1999, Theodore Papadopoulo wrote:
> This answer may be naive....
>
> Reading this thread leaves me with the idea that something is
> very wrong with the current parsing process. In theory, it should be
> possible to keep both versions of the parsing code around for some
> time so that all glade files can still be read but only the newest
> format is written. This would allow for a smooth transition between
> file formats.
>
> This simply means that the file contains close to its top a flag that
> allows to retrieve the version of the format and which is used to
> toggle between various parsers. If such a mecanism is not available
> then I believe the format should be changed as soon as possible to at
> least allow for such a behaviour (a simple version number close to
> the top is sufficient).
>
> Am I missing something ???
>
> Theo.
>
> --------------------------------------------------------------------
> Theodore Papadopoulo
> Email: [EMAIL PROTECTED] Tel: (33) 04 92 38 76 01
> --------------------------------------------------------------------
>
>
>
> +---------------------------------------------------------------------+
> To unsubscribe from this list, send a message to [EMAIL PROTECTED]
> with the line "unsubscribe glade-devel" in the body of the message.
>
+---------------------------------------------------------------------+
To unsubscribe from this list, send a message to [EMAIL PROTECTED]
with the line "unsubscribe glade-devel" in the body of the message.