W3C home > Mailing lists > Public > www-xml-schema-comments@w3.org > January to March 2002

Why can't we include foreign attributes in xs:appinfo and xs:documentation ?

From: Eric van der Vlist <vdv@dyomedea.com>
Date: Mon, 04 Feb 2002 10:00:53 +0100
Message-ID: <3C5E4DC5.1040800@dyomedea.com>
To: xmlschema-dev@w3.org
Cc: www-xml-schema-comments@w3.org
Title says if all (almost).

Things such as:

<xs:element name="author" type="author">
  <xs:annotation>
   <xs:appinfo xmlns:xlink="http://www.w3.org/1999/xlink"
     xlink:arcrole="http://www.w3.org/1999/XSL/Transform"
     xlink:role="http://www.w3.org/1999/XSL/Transform"
     xlink:title="Author template" xlink:href="library.xslt#author">
    <div class="resource">
     <h4>XSLT Transformation</h4>
     <p>This <a href="library.xslt#author">template</a> displays the 
description of an author.</p>
    </div>
   </xs:appinfo>
  </xs:annotation>
</xs:element>

could be nifty and seem harmless but they are forbidden by the schema 
for schema!

Why?

Thanks

Eric
-- 
Rendez-vous a Paris pour mes formations XML/XSLT.
                                           http://dyomedea.com/formation/
------------------------------------------------------------------------
Eric van der Vlist       http://xmlfr.org            http://dyomedea.com
http://xsltunit.org      http://4xt.org           http://examplotron.org
------------------------------------------------------------------------
Received on Monday, 4 February 2002 04:01:25 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 5 February 2014 07:15:33 UTC