OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

 


 

   Re: Parser Behaviour (serious)

[ Lists Home | Date Index | Thread Index ]
  • From: John Aldridge <john.aldridge@informatix.co.uk>
  • To: xml-dev@xml.org
  • Date: Tue, 04 Apr 2000 11:04:05 +0100

At 10:22 02/04/00 +0100, Peter Murray-Rust <peter@ursus.demon.co.uk> wrote:

><?xml version="1.0"?>
><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
>    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">

>What's wrong? Ah! The parser is trying to resolve the URL for the DTD and
>since I'm offline (connections cost money over here) it can't. So the file
>I have created can only be processed as XML if:
>	(a) I am connected online
>	(b) the W3C maintain *** for all time *** a means of dereferencing either
>the FPI or the URL
>
>I can't believe this is what the community wants. It fooled me, and I've
>been working with XML for some time.

Aargghh!  My hot button again.  There's a perfectly good answer to this --
dereference the PUBLIC identifer in some local catalogue.  Unfortunately,
XML 1.0 makes this optional; and parsers don't do it.

Last time I checked, schemas have just the same problem -- they provide a
syntax for looking up schema definitions other than by dereferencing a URL,
but don't mandate that processors provide a mechanism for using it.

Please -- not everyone has a 100% reliable 2Mbit link to the internet.
Some users of XML don't have internet connections at all.  XML is a whole
lot more than a "better" HTML to send across http (I don't need to say this
here, do I), and has lots of applications which do not involve any sort of
networking.

Rant over.  I've calmed down now.
-- 
Cheers,
John

***************************************************************************
This is xml-dev, the mailing list for XML developers.
To unsubscribe, mailto:majordomo@xml.org&BODY=unsubscribe%20xml-dev
List archives are available at http://xml.org/archives/xml-dev/
***************************************************************************




 

News | XML in Industry | Calendar | XML Registry
Marketplace | Resources | MyXML.org | Sponsors | Privacy Statement

Copyright 2001 XML.org. This site is hosted by OASIS