W3C home > Mailing lists > Public > www-dom@w3.org > January to March 2002

[www-dom] <none>

From: In, Jae Woo <JaeWoo.In@compaq.com>
Date: Thu, 14 Feb 2002 11:12:34 -0800
Message-ID: <86DF4B803DE4B64894B29036A783EAFBCCF8FE@cacexc02.americas.cpqcorp.net>
To: "W3C-DOM" <www-dom@w3.org>
 Hello,
       I'm fairly new to the world of XML and I have a question
 concerning End-of-Line characters & End-of-File characters.  When XML
 parser validates an xml document for well-formness, how does it handle
 End-of-Line characters & End-of-File characters?  For example, say I
 have the following XML document ("$" denotes End-of-line characters):


 <?xml version="1.0" encoding="UTF-8"?>$
 <!--
 Copyright (c) 2001 World Wide Web Consortium,
 (Massachusetts Institute of Technology, Institut National de
 Recherche en Informatique et en Automatique, Keio University). All
 Rights Reserved. This program is distributed under the W3C's Software
 Intellectual Property License. This program is distributed in the
 hope that it will be useful, but WITHOUT ANY WARRANTY; without even
 the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
 PURPOSE.
 See W3C License http://www.w3.org/Consortium/Legal/ for more details.
 --><!DOCTYPE test SYSTEM "dom1.dtd">$
 $
 <test xmlns="http://www.w3.org/2001/DOM-Test-Suite/Level-1"
 name="textsplittextf
 our">$
 <metadata>$
 <title>textSplitTextFour</title>$
 <creator>NIST</creator>$

 How does DOMCount treat the end-of-line character between the DOCTYPE
 tag and the Namespace declaration?  I have bolded the $ that is being
 referred in the previous sentence.  Thank you for your patience.

 Jae W. In

 P.S.  If I am mailing the wrong work-group with this question, then
 please forgive me of my ignorance and kindly refer me to the correct
 work group in W3C.  Thank you.
Received on Thursday, 14 February 2002 14:13:06 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Friday, 22 June 2012 06:13:55 GMT