[Date Prev]
| [Thread Prev]
| [Thread Next]
| [Date Next]
--
[Date Index]
| [Thread Index]
RE: The universality of "single starting point"
- From: David Lee <dlee@calldei.com>
- To: "Costello, Roger L." <costello@mitre.org>, "xml-dev@lists.xml.org"<xml-dev@lists.xml.org>
- Date: Sat, 23 Nov 2013 17:01:46 +0000
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]