httpd-docs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Daniel Veillard <Daniel.Veill...@w3.org>
Subject Re: Strawman XML
Date Wed, 25 Aug 1999 14:54:55 GMT
> Does anyone see great error or fundamental wrongs with the attached
> strawman ?

I suggest the following:

:1,$ s/ LANG=/ xml:lang=/g

   the reference being 
     http://www.w3.org/TR/REC-xml#sec-lang-tag

Fragment of html included in the output should be cleaned up, for example
the <p> included in line 17 generates a well-formedness error making
the full piece unusable (a parser must not recover on those kind of errors).
The simplest (and ugliest) is to escape all html constructs in the
content  s/</&lt;/g  in the content may do the trick.
Also 
  <DIRECTIVE id="AuthUserFile</A>">
is not allowed, the < must be escaped even in attributes values.
  <IA REF="AuthDBMGroupFile/>
lacks the closing double-quote
line 64:
          <RELATED>
should be a closing declaration

  Basically there is a bit of cleanup needed before it gets accepted by
a XML parser. Maybe half an hour more of work :-)

I would also swap all these uppercases to lowercase, but it's rather a
personal taste :-)

Daniel

-- 
Daniel.Veillard@w3.org | W3C, INRIA Rhone-Alpes  | Today's Bookmarks :
Tel : +33 476 615 257  | 655, avenue de l'Europe | Linux, WWW, rpmfind,
Fax : +33 476 615 207  | 38330 Montbonnot FRANCE | rpm2html, XML,
http://www.w3.org/People/W3Cpeople.html#Veillard | badminton, and Kaffe.

Mime
View raw message