DOM & End-of-Line Characters

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 Friday, 8 February 2002 12:15:48 UTC