[Osr-101] Misleading neutron specs example
Michael Wechner
michael.wechner at wyona.com
Wed Aug 2 11:29:25 CEST 2006
Thomas Comiotto wrote:
> Hi all,
>
> One of the introspection file examples given in the neutron specs
> containts the fragment:
>
> <schemas>
> <schema
> href="http://foo.bar.com/lenya/modules/docbook/schemas/simple.rng"
> type="RelaxNG"/>
> <schema
> href="http://foo.bar.com/lenya/modules/docbook/schemas/default.rng"
> type="RelaxNG"/>
> </schemas>
> <styles>
> <style
> href="http://foo.bar.com/lenya/modules/xhtml/styles/default.xsl"/>
> <style
> href="http://foo.bar.com/lenya/modules/xhtml/styles/simple.xsl"/>
> </styles>
>
> I don't think switchable schemas/datatypes make sense at all. Could
> anyone provide a reasonable example for that please?
yes, will fix it, whereas the original idea was more far-fetched in
order to allow a non-XML format where one could overlay different
XML schemas, but yes it's not appropriate within this context
> I'd change the example to:
>
> <schema
> href="http://foo.bar.com/lenya/modules/docbook/schemas/docbook.rng"
> type="RelaxNG"/>
> <styles>
> <style
> href="http://foo.bar.com/lenya/modules/xhtml/styles/default.xsl"/>
> <style
> href="http://foo.bar.com/lenya/modules/xhtml/styles/simple.xsl"/>
> </styles>
yes, makes sense. I need to update the spec anyway, so that will be one
of the tasks to do.
Thanks
Michi
>
>
> Multiple schemas might make sense with regard to fragment validating
> support, but that hasn't been discussed yet I think.
>
> --
> Best regards
> Thomas
>
>
> _______________________________________________
> Osr-101 mailing list
> Osr-101 at wyona.org
> http://wyona.com/cgi-bin/mailman/listinfo/osr-101
>
--
Michael Wechner
Wyona - Open Source Content Management - Apache Lenya
http://www.wyona.com http://lenya.apache.org
michael.wechner at wyona.com michi at apache.org
+41 44 272 91 61
More information about the Osr-101
mailing list