Next in thread → Next in month →

Re: [xml-dev] RE: The universality of "single starting point"

From
Rand McRanderson <>
To
David Lee <>
Date
2013-11-24T14:10:38Z
ID
<CAAFmJiHs7Z=>
Thread
Re: [xml-dev] RE: The universality of "single starting point"

Still there is a starting point - the document

On Nov 23, 2013 12:02 PM, "David Lee" <[email protected]> wrote:
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
[email protected]
http://www.xmlsh.org

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

_______________________________________________________________________

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: [email protected]
subscribe: [email protected]
List archive: http://lists.xml.org/archives/xml-dev/
List Guidelines: http://www.oasis-open.org/maillists/guidelines.php
Next in thread → Next in month →