W3C home > Mailing lists > Public > xmlschema-dev@w3.org > September 2005

Re: Extending RSS 2.0

From: George Cristian Bina <george@oxygenxml.com>
Date: Tue, 27 Sep 2005 12:44:20 +0300
Message-ID: <43391474.3050108@oxygenxml.com>
To: Borut BolĨina <bob@najdi.si>
Cc: Michael Kay <mike@saxonica.com>, xmlschema-dev@w3.org

Hi,

 > <rss version="2.0" xmlns:job="http://schema.noviforum.si/job"
 > job:schemaLocation="path/to/job.xsd"
 > xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
 > 
xsi:noNamespaceSchemaLocation="http://www.thearchitect.co.uk/schemas/rss-2_0.xsd">

You need xsi:schemaLocation not job:schemaLocation and also the value is 
a list of pairs, each pair formed by namespace followed by schema 
location so something like below should work:

<rss version="2.0" xmlns:job="http://schema.noviforum.si/job"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://schema.noviforum.si/job path/to/job.xsd"
xsi:noNamespaceSchemaLocation="http://www.thearchitect.co.uk/schemas/rss-2_0.xsd">

Best Regards,
George
---------------------------------------------------------------------
George Cristian Bina
<oXygen/> XML Editor, Schema Editor and XSLT Editor/Debugger
http://www.oxygenxml.com
Received on Tuesday, 27 September 2005 09:37:08 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 11 January 2011 00:14:51 GMT