[Home] [By Thread] [By Date] [Recent Entries]

  • From: George Cristian Bina <george@o...>
  • To: "Costello, Roger L." <costello@m...>
  • Date: Fri, 15 Feb 2013 15:15:17 +0200

Hi Roger,

Who tells the parser to parse the XML document?
That is the application.

Best Regards,
George
--
George Cristian Bina
<oXygen/> XML Editor, Schema Editor and XSLT Editor/Debugger
http://www.oxygenxml.com

On 2/15/13 2:24 PM, Costello, Roger L. wrote:
> Hi Folks,
>
>      If a tree falls in a forest and no one
>      is around to hear it, does it make a
>      sound?
>
> Similarly,
>
>      If an XML parser is requested to parse
>      an XML document and no application
>      is around to process its output, does it
>      really parse the XML document?
>
> We perceive that an XML document has been parsed because there is an XML application that invokes the fruits of the parse and does something with it (displays, computes, etc.)
>
> Perhaps the XML parser is a lazy parser and refuses to do anything until prodded by an XML application. So if there is no XML application, there is no parsing.
>
> Thoughts?
>
> /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@l...
> subscribe: xml-dev-subscribe@l...
> 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]


Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member