[Osr-101] Misleading neutron specs example

Andreas Wuest awuest at student.ethz.ch
Wed Aug 2 13:57:13 CEST 2006


Hi

On 2.8.2006 11:29 Uhr, Michael Wechner wrote:

> 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

Whereas another question would be: how shall we treat documents with 
multiple different schemas? Imagine e.g. a XHTML document with embedded 
MathML.

What we need is a) a way to specify multiple schemas and b) map the 
namespaces used in that document to the schema in question.

-- 
Kind regards,
Andi



More information about the Osr-101 mailing list