XML.orgXML.org
FOCUS AREAS |XML-DEV |XML.org DAILY NEWSLINK |REGISTRY |RESOURCES |ABOUT
OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index]
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
dlee@calldei.com
http://www.xmlsh.org

-----Original Message-----
From: Costello, Roger L. [mailto:costello@mitre.org] 
Sent: Saturday, November 23, 2013 11:51 AM
To: xml-dev@lists.xml.org
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: xml-dev-unsubscribe@lists.xml.org
subscribe: xml-dev-subscribe@lists.xml.org
List archive: http://lists.xml.org/archives/xml-dev/
List Guidelines: http://www.oasis-open.org/maillists/guidelines.php


[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index]


News | XML in Industry | Calendar | XML Registry
Marketplace | Resources | MyXML.org | Sponsors | Privacy Statement

Copyright 1993-2007 XML.org. This site is hosted by OASIS