Ross Burton wrote:
>
> > What I intended to say is that
> >
> > <person xlink:href="http://www.apache.org/~stefano/"
> > xlink:type="simple">
> > <name>Stefano Mazzocchi</name>
> > <email>stefano@apache.org</email>
> > </person>
> >
> > is much easier than
> >
> > <person xlink:type="extended">
> > <link xlink:href="http://www.apache.org/~stefano/"
> > xlink:type="locator" xlink:role="remote"/>
> > <go xlink:from="local" xlink:to="remote"
> > xlink:show="replace" xlink:actuate="onRequest"/>
> > <name xlink:role="local">Stefano Mazzocchi</name>
> > <email xlink:role="local">stefano@apache.org</email>
> > </person>
>
> ARGH! :-)
>
> > even if they are totally equivalent in functionality. Don't be scared by
> > verbosity, thought! since, given a proper schema, the right above can be
> > written as
> >
> > <person>
> > <link xlink:href="http://www.apache.org/~stefano"/>
> > <go/>
> > <name>Stefano Mazzocchi</name>
> > <email>stefano@apache.org</email>
> > </person>
>
> A bit better...
>
> > When XMLSchema will be a reality, it would be even simpler
> >
> > <person homepage="http://www.apache.org/~stefano/">
> > <name>Stefano Mazzocchi</name>
> > <email>stefano@apache.org</email>
> > </person>
> >
> > then the attribute "homepage" would inherit "xlink:href", without
> > requiring document writers to ever know anything about XLink at all!
> > (which is why HTML was so successful)
>
> Possible now? I've read that Xerces supports Schema validation, but does it
> support this sort of inheritance?
Of course it's possible now: we just have to implement the code to do
it. :)
(but I hope the Xerces guys help on this)
--
Stefano Mazzocchi One must still have chaos in oneself to be
able to give birth to a dancing star.
<stefano@apache.org> Friedrich Nietzsche
--------------------------------------------------------------------
Missed us in Orlando? Make it up with ApacheCON Europe in London!
------------------------- http://ApacheCon.Com ---------------------
|