<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Why nxs:stringList isn&amp;apos;t resolve in my_schema.xsd ? in Nuxeo Forum</title>
    <link>https://connect.hyland.com/t5/nuxeo-forum/why-nxs-stringlist-isn-apos-t-resolve-in-my-schema-xsd/m-p/320025#M7026</link>
    <description>&lt;P&gt;Your &lt;CODE&gt;xmlns:nxs&lt;/CODE&gt; must be the same as your &lt;CODE&gt;targetNamespace&lt;/CODE&gt;, as the &lt;CODE&gt;xs:include&lt;/CODE&gt; does not bring in the included file's namespace.&lt;/P&gt;</description>
    <pubDate>Fri, 09 Nov 2012 17:37:35 GMT</pubDate>
    <dc:creator>Florent_Guillau</dc:creator>
    <dc:date>2012-11-09T17:37:35Z</dc:date>
    <item>
      <title>Why nxs:stringList isn&amp;apos;t resolve in my_schema.xsd ?</title>
      <link>https://connect.hyland.com/t5/nuxeo-forum/why-nxs-stringlist-isn-apos-t-resolve-in-my-schema-xsd/m-p/320024#M7025</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;Here is my_schema.xsd :&lt;/P&gt;
&lt;PRE&gt;&lt;CODE&gt;&amp;lt;?xml version="1.0"?&amp;gt;
&amp;lt;xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema"
           targetNamespace="http://my_company/schemas/nuxeo/"
           xmlns:enacCommon="http://my_company/schemas/nuxeo/"
           xmlns:nxs="http://www.nuxeo.org/ecm/schemas/common/"&amp;gt;  
&amp;lt;xs:include schemaLocation="base.xsd" /&amp;gt;
&amp;lt;xs:element name="intext" type="xs:string" /&amp;gt;
&amp;lt;xs:element name="site" type="nxs:stringList" /&amp;gt; 
&amp;lt;/xs:schema&amp;gt;
&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;Eclipse dit :
src-resolve.4.2: Error resolving component 'nxs:stringList'. It was detected that 'nxs:stringList' is in namespace 'http://www.nuxeo.org/ecm/schemas/common/', but components from this namespace are
not referenceable from schema document 'file:///chemin_vers_mon_pluggin/src/main/
resources/schemas/my_schema.xsd'. If this is the incorrect namespace, perhaps the prefix of
'nxs:stringList' needs to be changed. If this is the correct namespace, then an appropriate 'import' tag
should be added to 'file:///chemin_vers_mon_pluggin/src/main/resources/schemas/
docDessinSPCET.xsd'.&lt;/P&gt;
&lt;P&gt;And in run, nuxeo server says :
2012-11-08 15:47:17,075 ERROR [org.nuxeo.ecm.core.schema.XSDLoader] Error: undefined simple or complex type 'nxs:stringList'
2012-11-08 15:47:17,075 ERROR [org.nuxeo.ecm.core.schema.TypeService] org.xml.sax.SAXParseException; systemId: file:/chemin_de_mon_installation/nuxeo-cap-5.6-tomcat-sdk/nxserver//schemas/docDessinSPCET.xsd; lineNumber: 8; columnNumber: 51; undefined simple or complex type 'nxs:stringList'&lt;/P&gt;
&lt;P&gt;Someone has an idea ?&lt;/P&gt;
&lt;P&gt;Thanks !&lt;/P&gt;</description>
      <pubDate>Thu, 08 Nov 2012 16:48:21 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/nuxeo-forum/why-nxs-stringlist-isn-apos-t-resolve-in-my-schema-xsd/m-p/320024#M7025</guid>
      <dc:creator>brigitte_</dc:creator>
      <dc:date>2012-11-08T16:48:21Z</dc:date>
    </item>
    <item>
      <title>Re: Why nxs:stringList isn&amp;apos;t resolve in my_schema.xsd ?</title>
      <link>https://connect.hyland.com/t5/nuxeo-forum/why-nxs-stringlist-isn-apos-t-resolve-in-my-schema-xsd/m-p/320025#M7026</link>
      <description>&lt;P&gt;Your &lt;CODE&gt;xmlns:nxs&lt;/CODE&gt; must be the same as your &lt;CODE&gt;targetNamespace&lt;/CODE&gt;, as the &lt;CODE&gt;xs:include&lt;/CODE&gt; does not bring in the included file's namespace.&lt;/P&gt;</description>
      <pubDate>Fri, 09 Nov 2012 17:37:35 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/nuxeo-forum/why-nxs-stringlist-isn-apos-t-resolve-in-my-schema-xsd/m-p/320025#M7026</guid>
      <dc:creator>Florent_Guillau</dc:creator>
      <dc:date>2012-11-09T17:37:35Z</dc:date>
    </item>
    <item>
      <title>Re: Why nxs:stringList isn&amp;apos;t resolve in my_schema.xsd ?</title>
      <link>https://connect.hyland.com/t5/nuxeo-forum/why-nxs-stringlist-isn-apos-t-resolve-in-my-schema-xsd/m-p/320026#M7027</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;</description>
      <pubDate>Fri, 09 Nov 2012 18:24:45 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/nuxeo-forum/why-nxs-stringlist-isn-apos-t-resolve-in-my-schema-xsd/m-p/320026#M7027</guid>
      <dc:creator>brigitte_</dc:creator>
      <dc:date>2012-11-09T18:24:45Z</dc:date>
    </item>
    <item>
      <title>Re: Why nxs:stringList isn&amp;apos;t resolve in my_schema.xsd ?</title>
      <link>https://connect.hyland.com/t5/nuxeo-forum/why-nxs-stringlist-isn-apos-t-resolve-in-my-schema-xsd/m-p/320027#M7028</link>
      <description>&lt;P&gt;This is not an answer, please don't post it as an answer. Post it as a comment to either the previous answer or the original question.&lt;/P&gt;</description>
      <pubDate>Fri, 09 Nov 2012 18:53:30 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/nuxeo-forum/why-nxs-stringlist-isn-apos-t-resolve-in-my-schema-xsd/m-p/320027#M7028</guid>
      <dc:creator>Florent_Guillau</dc:creator>
      <dc:date>2012-11-09T18:53:30Z</dc:date>
    </item>
  </channel>
</rss>

