[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] RE: [ANN] WFC 38 is out (and a question)
This fragment appears to be a valid, well-formed HTML document but not a valid nor well formed XML document. HTML, which has an SGML DTD, allows both the HTML and BODY tags to be optional. Under XML optional tags are not provided for. Hence, the normalized HTML document derived from the stream is: <HTML><BODY><H1>Text</H1> More Text <H2>Less Text</H2></BODY></HTML> which is also well formed XML. Jonathan Borden http://jabr.ne.mediaone.net ... Consider the following snippet: > > <H1>Text</H1> More Text <H2>Less Text</H2> > > Is this valid XML? " More Text " is orphaned. > xml-dev: A list for W3C XML Developers. To post, mailto:xml-dev@i... Archived as: http://www.lists.ic.ac.uk/hypermail/xml-dev/ To (un)subscribe, mailto:majordomo@i... the following message; (un)subscribe xml-dev To subscribe to the digests, mailto:majordomo@i... the following message; subscribe xml-dev-digest List coordinator, Henry Rzepa (mailto:rzepa@i...)
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|