RE: The universality of "single starting point"

From
David Lee <>
To
"Costello, Roger L." <>, "" <>
Date
2013-11-23T17:01:46Z
ID
<>
Thread
RE: The universality of "single starting point"
XML doesnt always start with the root element.

http://www.w3.org/TR/REC-xml/


[1]   	document	   ::=   	 prolog element Misc*

It starts with an *optional* prolog.



----------------------------------------
David A. Lee

http://www.xmlsh.org

-----Original Message-----
From: Costello, Roger L. [mailto:] 
Sent: Saturday, November 23, 2013 11:51 AM
To: 
Subject: [xml-dev] The universality of "single starting point"

Hi Folks,

1. Formal grammars require that a single symbol be the starting point for all productions. For example, the starting symbol is S in this grammar:

	S -> a Q a
	Q -> ...

2. Structured programming tells us that every function should have a single entry point.

3. XML has a single starting point - the root element

Wow! I see this concept of a single starting point everywhere I look. Above I have provided three occurrences. Would you provide other occurrences please?

/Roger

_______________________________________________________________________

XML-DEV is a publicly archived, unmoderated list hosted by OASIS
to support XML implementation and development. To minimize
spam in the archives, you must subscribe before posting.

[Un]Subscribe/change address: http://www.oasis-open.org/mlmanage/
Or unsubscribe: 
subscribe: 
List archive: http://lists.xml.org/archives/xml-dev/
List Guidelines: http://www.oasis-open.org/maillists/guidelines.php