[ANN] WFC 38 is out (and a question)

Frank Boumphrey bckman at ix.netcom.com
Sun Jan 10 19:30:05 GMT 1999


><H1>Text</H1> More Text <H2>Less Text</H2>
>
Is this valid XML? " More Text " is orphaned

It depends on your DTD, if the root element allows PCDATA then it is
perfectly valid.

frank

Frank Boumphrey

XML and style sheet info at Http://www.hypermedic.com/style/index.htm
Author: - Professional Style Sheets for HTML and XML http://www.wrox.com
CoAuthor:  XML applications from Wrox Press, www.wrox.com
Author: Using XML on the Web (March)


----- Original Message -----
From: Samuel R. Blackburn <sblackbu at erols.com>
To: <xml-dev at ic.ac.uk>
Sent: Sunday, January 10, 1999 8:14 AM
Subject: [ANN] WFC 38 is out (and a question)


>I just published release 38 of my freeware Win32 Foundation Classes (WFC)
>library. The XML classes have had several bugs fixed as well as adding new
>functionality. You can now control how strict or sloppy the parser is.
>
>While doing this work, I came across a situation that I don't believe is
>covered in the specification. Consider the following snippet:
>
><H1>Text</H1> More Text <H2>Less Text</H2>
>
>Is this valid XML? " More Text " is orphaned.
>
>In WFC, I force the document to always have an XML declaration
>as the root node whether or not one appeared in the original data
>stream. All of these orphaned text segments are children of the
>root node.
>
>http://ourworld.compuserve.com/homepages/sam_blackburn/wfc.htm
>
>
>
>xml-dev: A list for W3C XML Developers. To post, mailto:xml-dev at ic.ac.uk
>Archived as: http://www.lists.ic.ac.uk/hypermail/xml-dev/
>To (un)subscribe, mailto:majordomo at ic.ac.uk the following message;
>(un)subscribe xml-dev
>To subscribe to the digests, mailto:majordomo at ic.ac.uk the following
message;
>subscribe xml-dev-digest
>List coordinator, Henry Rzepa (mailto:rzepa at ic.ac.uk)
>
>


xml-dev: A list for W3C XML Developers. To post, mailto:xml-dev at ic.ac.uk
Archived as: http://www.lists.ic.ac.uk/hypermail/xml-dev/
To (un)subscribe, mailto:majordomo at ic.ac.uk the following message;
(un)subscribe xml-dev
To subscribe to the digests, mailto:majordomo at ic.ac.uk the following message;
subscribe xml-dev-digest
List coordinator, Henry Rzepa (mailto:rzepa at ic.ac.uk)




More information about the Xml-dev mailing list