[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: If I have a "header" section in my XML document, am I crea
Yes, many XML vocabularies have a header section or envelope containing “metadata” of some sort, and in that sense they are collapsing two layers of the protocol stack into one. SOAP is an obvious example. Michael Kay Saxonica > On 14 Sep 2015, at 13:43, Costello, Roger L. <costello@mitre.org> wrote: > > Hi Folks, > > HTML has a header. It contains fields like: > > title > script > meta > > The HTML specification prescribes how applications (e.g., browsers) should process each header field. > > The IP protocol has a header. It contains fields like: > > Type of Service > Fragment Offset > Destination Address > > The IP specification prescribes how network nodes (routers, gateways, destination host) should process each header field. > > It seems to me that a header is there for a reason: to provide specific instructions to nodes. The section following the header (i.e., the body) is descriptive. But the header is prescriptive. > > What do you think? When specifying an XML vocabulary which contains a "header section" should there be instructions on what actions nodes should take with the header fields? > > Does the presence of a header field in an XML vocabulary turn it into a protocol, rather than merely a declarative description of structure and content? > > /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] |
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|