W3C home > Mailing lists > Public > www-dom-ts@w3.org > February 2002

DOM & End-of-Line Characters

From: In, Jae Woo <JaeWoo.In@compaq.com>
Date: Fri, 8 Feb 2002 09:15:01 -0800
Message-ID: <86DF4B803DE4B64894B29036A783EAFB105EFC@cacexc02.americas.cpqcorp.net>
To: "W3C DOM Work Group" <www-dom-ts@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 Friday, 8 February 2002 12:15:48 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 20:34:04 UTC