Home. 
.

transparent

transparent

transparent

Altova Mailing List Archives


RE: [xml-dev] Handling of PIs (was RE: [xml-dev] Choosing a target name...)

From: "Bullard, Claude L \(Len\)" <len.bullard@----------.--->
To: "Tatu Saloranta" <cowtowncoder@-----.--->,<xml-dev@-----.---.--->
Date: 5/1/2006 7:19:00 PM
I am thinking about the general tools and the cultivated impression that
PIs are somehow bad.  There is the XML specification then there are the
common practices built over a bed of experience, opinion, and naivete

PIs are just out of band information.  That can be useful.  If one
doesn't accept that, one doesn't face the reality of global
communication networks and languages evolving dynamically.  Not all
information is meant to be processed by all processors at first or at
all.  If an application language designer (eg, the SOAP designers) wants
to restrict PIs, they can.  If others find them useful, they can use
them.  If two groups conflict, the XML specification doesn't care
explicitly. The market works out the winners and losers.   If a group
decides to use that opportunistically, that's fine.

So bits like DOCTYPEs, DTDs, PIs, etc., we have to live with because
they work.  Namespaces?  One doesn't have to use them but the case for
using them is better than the case for ignoring them.   MusicML is
likely an isolate: it doesn't have to aggregate other XML languages, so
avoiding the namespace and using simpler means such as PIs makes sense.


Conservation of Power:  Never use an amplifier where a filter will do.

len


From: Tatu Saloranta [mailto:cowtowncoder@y...] 

--- "Bullard, Claude L (Len)"
<len.bullard@i...> wrote:

..
> As to PIs, the fact that so many XML processors
> don't handle 
> them says the XML specification designers' job was

I'm curious: are you thinking in general terms of XML
processing applications, or strictly about XML
processing tools (parsers, xslt/xquery tools)? I
thought that latter must handle PIs (whereas support
for comments was more optional), and at least
regarding parsers, they must be passed to handling
app/tool.

That obviously doesn't help with folks who re-define
what they think XML should mean (Soap, Xmpp) and omit
pieces they don't like.


transparent
Print
Mail
Like It
Disclaimer
.

These Archives are provided for informational purposes only and have been generated directly from the Altova mailing list archive system and are comprised of the lists set forth on www.altova.com/list/index.html. Therefore, Altova does not warrant or guarantee the accuracy, reliability, completeness, usefulness, non-infringement of intellectual property rights, or quality of any content on the Altova Mailing List Archive(s), regardless of who originates that content. You expressly understand and agree that you bear all risks associated with using or relying on that content. Altova will not be liable or responsible in any way for any content posted including, but not limited to, any errors or omissions in content, or for any losses or damage of any kind incurred as a result of the use of or reliance on any content. This disclaimer and limitation on liability is in addition to the disclaimers and limitations contained in the Website Terms of Use and elsewhere on the site.

.
.

transparent

transparent