W3C home > Mailing lists > Public > w3c-sgml-wg@w3.org > January 1997

Re: Sample Question

From: Christopher R. Maden <crm@ebt.com>
Date: Thu, 30 Jan 1997 17:18:19 GMT
Message-Id: <199701301718.RAA01253@phaser.EBT.COM>
To: w3c-sgml-wg@www10.w3.org
[Len Bullard]

> Will the following example be koscher XML?

No - it's not well-formed.

> <HTML>
> <HEAD>
> <TITLE>Hello World</TITLE>
> .
> .
> <P>Your IP address is <SERVER>write(request.ip)</SERVER>
> <SERVER>write("<p>Last time your were " + client.oldname + ".")</SERVER>

Assuming <head> and <html> were closed properly, there is a <p> opened
within <server> that was not closed.  I think that what is desired is:

<server><![CDATA[write("<p>...")]]></server>

-Chris
-- 
Christopher R. Maden                  One Richmond Square
DynaText SIT Technical Support        Providence, RI 02906 USA
Inso Corporation                      +1.401.421.9550 (voice)
Electronic Publishing Solutions       +1.401.521.2030 (facsimile)
Received on Thursday, 30 January 1997 12:31:38 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 20:25:07 UTC