[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Escher could have drawn it (Re: XML Schema and Entities)
- From: Eric van der Vlist <vdv@dyomedea.com>
- To: xml-dev@lists.xml.org
- Date: Thu, 21 Jun 2001 18:57:57 +0200
Evan Lenz wrote:
>
> Eric van der Vlist wrote:
> > 2) Inclusions (external parsed entities),
> > This is the goal of XInclude that goes beyond DTDs by allowing to
> > include subsets of documents.
>
> A shortcoming of XInclude, when compared to entities, is that XInclude only
> allows a merging of infosets, and fragments don't have infosets. This means
> that XInclude is not currently up to the task of replacing entities by a
> long shot.
>
> "Well-formed XML entities that do not have defined infosets (e.g. an
> external entity file with multiple top-level elements) are outside the scope
> of this specification, either for use as a source infoset or the result
> infoset."[1]
XPointer has been extended to support external entities [1], though:
"Like [XSLT], XPointer allows the root node to have multiple child
elements, to allow XPointers to address into arbitrary external parsed
entities as well as well-formed documents."
[1] http://www.w3.org/TR/xptr#b2d250b5b9
I wonder what you can do with a set of nodes identified by a XPointer if
it has no infoset!
Eric
> Also, the spec claims that XInclude and entities are "complementary"
> technologies.[2]
>
> Evan Lenz
> XYZFind Corp.
>
> [1] http://www.w3.org/TR/xinclude/#processing
> [2] http://www.w3.org/TR/xinclude/#rel-extent
>
> ------------------------------------------------------------------
> The xml-dev list is sponsored by XML.org, an initiative of OASIS
> <http://www.oasis-open.org>
>
> The list archives are at http://lists.xml.org/archives/xml-dev/
>
> To unsubscribe from this elist send a message with the single word
> "unsubscribe" in the body to: xml-dev-request@lists.xml.org
--
Pour y voir plus clair dans la nebuleuse XML...
http://dyomedea.com/formation/
------------------------------------------------------------------------
Eric van der Vlist http://xmlfr.org http://dyomedea.com
http://xsltunit.org http://4xt.org http://examplotron.org
------------------------------------------------------------------------