<?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 nxs:stringList is not resolved as a type in faceted_search_default.xsd in Nuxeo Forum</title>
    <link>https://connect.hyland.com/t5/nuxeo-forum/nxs-stringlist-is-not-resolved-as-a-type-in-faceted-search/m-p/325319#M12320</link>
    <description>&lt;P&gt;I'm trying to customize The Faceted Search following this tutorial: &lt;A href="https://doc.nuxeo.com/display/NXDOC/Faceted+Search"&gt;Faceted Search&lt;/A&gt;
When I add a schema nxs:stringList is not resolved as a type&lt;/P&gt;
&lt;PRE&gt;&lt;CODE&gt;&amp;lt;?xml version="1.0"?&amp;gt;
&amp;lt;xs:schema targetNamespace="http://www.nuxeo.org/ecm/schemas/common/"
  xmlns:xs="http://www.w3.org/2001/XMLSchema"
  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="ecm_fulltext" type="xs:string" /&amp;gt;
  &amp;lt;xs:element name="dc_creator" type="nxs:stringList" /&amp;gt;
  &amp;lt;xs:element name="dc_created_min" type="xs:date" /&amp;gt;
  &amp;lt;xs:element name="dc_created_max" type="xs:date" /&amp;gt;
  &amp;lt;xs:element name="dc_modified_min" type="xs:date" /&amp;gt;
  &amp;lt;xs:element name="dc_modified_max" type="xs:date" /&amp;gt;
 
  &amp;lt;xs:element name="dc_coverage" type="nxs:stringList" /&amp;gt;
  &amp;lt;xs:element name="dc_subjects" type="nxs:stringList"/&amp;gt;
 
  &amp;lt;xs:element name="ecm_path" type="nxs:stringList"/&amp;gt;
 
&amp;lt;/xs:schema&amp;gt;
&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;src-resolve: Cannot resolve the name 'nxs:stringList' to a(n) 'type definition' component.&lt;/P&gt;
&lt;P&gt;I found a similar question &lt;A href="http://answers.nuxeo.com/questions/4201/why-nxsstringlist-isnt-resolve-in-my_schemaxsd"&gt;here&lt;/A&gt; I added thoses lines:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE&gt; &amp;lt;xs:complexType name="stringList"&amp;gt;
    &amp;lt;xs:sequence&amp;gt;
      &amp;lt;xs:element name="item" type="xs:string" minOccurs="0"
        maxOccurs="unbounded" /&amp;gt;
    &amp;lt;/xs:sequence&amp;gt;
  &amp;lt;/xs:complexType&amp;gt;
&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;Not working as well here's my log:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE&gt;2015-06-05 09:36:53,244 INFO  [localhost-startStop-1] [org.nuxeo.runtime.osgi.OSGiRuntimeService] Nuxeo Platform Started
======================================================================
= Component Loading Status: Pending: 0 / Unstarted: 0 / Total: 640
======================================================================
2015-06-05 09:36:56,585 WARN  [localhost-startStop-1] [org.nuxeo.ecm.platform.ui.web.application.config.JSFAnnotationProvider] container scanned classes unavailable, applying default scanning
2015-06-05 09:37:24,324 WARN  [localhost-startStop-1] [org.jboss.seam.security.permission.PersistentPermissionResolver] no permission store available - please install a PermissionStore with the name 'org.jboss.seam.security.jpaPermissionStore' if persistent permissions are required.
2015-06-05 09:37:25,196 INFO  [localhost-startStop-1] [org.nuxeo.osgi.application.FrameworkBootstrap] Framework started in 141 sec.
2015-06-05 09:37:25,206 INFO  [localhost-startStop-1] [org.apache.catalina.startup.HostConfig] Deployment of configuration descriptor C:\nuxeo-cap-7.2-tomcat\conf\Catalina\localhost\nuxeo.xml has finished in 153Â&amp;nbsp;411 ms
2015-06-05 09:37:25,206 INFO  [localhost-startStop-1] [org.apache.catalina.startup.HostConfig] DÃ©ploiement du rÃ©pertoire C:\nuxeo-cap-7.2-tomcat\webapps\host-manager de l'application web
2015-06-05 09:37:34,237 INFO  [localhost-startStop-1] [org.apache.catalina.startup.HostConfig] Deployment of web application directory C:\nuxeo-cap-7.2-tomcat\webapps\host-manager has finished in 9Â&amp;nbsp;031 ms
2015-06-05 09:37:34,237 INFO  [localhost-startStop-1] [org.apache.catalina.startup.HostConfig] DÃ©ploiement du rÃ©pertoire C:\nuxeo-cap-7.2-tomcat\webapps\manager de l'application web
2015-06-05 09:37:42,693 INFO  [localhost-startStop-1] [org.apache.catalina.startup.HostConfig] Deployment of web application directory C:\nuxeo-cap-7.2-tomcat\webapps\manager has finished in 8Â&amp;nbsp;456 ms
2015-06-05 09:37:42,694 INFO  [localhost-startStop-1] [org.apache.catalina.startup.HostConfig] DÃ©ploiement du rÃ©pertoire C:\nuxeo-cap-7.2-tomcat\webapps\ROOT de l'application web
2015-06-05 09:37:51,149 INFO  [localhost-startStop-1] [org.apache.catalina.startup.HostConfig] Deployment of web application directory C:\nuxeo-cap-7.2-tomcat\webapps\ROOT has finished in 8Â&amp;nbsp;455 ms
2015-06-05 09:37:51,239 INFO  [main] [org.apache.coyote.http11.Http11Protocol] Starting ProtocolHandler ["http-bio-0.0.0.0-8080"]
2015-06-05 09:37:51,289 INFO  [main] [org.apache.coyote.ajp.AjpProtocol] Starting ProtocolHandler ["ajp-bio-0.0.0.0-8009"]
2015-06-05 09:37:51,319 INFO  [main] [org.apache.catalina.startup.Catalina] Server startup in 204819 ms
2015-06-05 09:38:41,790 INFO  [http-bio-0.0.0.0-8080-exec-11] [org.apache.jasper.compiler.TldLocationsCache] At least one JAR was scanned for TLDs yet contained no TLDs. Enable debug logging for this logger for a complete list of JARs that were scanned but no TLDs were found in them. Skipping unneeded JARs during scanning can improve startup time and JSP compilation time.
2015-06-05 09:40:00,091 ERROR [Quartz_Worker-1] [org.nuxeo.ecm.core.storage.sql.Model] Ignoring unknown property 'dc:title' in fulltext configuration: title
2015-06-05 09:40:00,092 ERROR [Quartz_Worker-1] [org.nuxeo.ecm.core.storage.sql.Model] Ignoring unknown property 'dc:description' in fulltext configuration: description
2015-06-05 09:40:00,816 ERROR [Quartz_Worker-1] [org.nuxeo.ecm.core.event.impl.EventServiceImpl] Exception during triggerEsclationRules sync listener execution, continuing to run other listeners
org.nuxeo.ecm.core.api.local.LocalException: Failed to load repository default: Unknown document type: Root
	at org.nuxeo.ecm.core.repository.RepositoryService.getSession(RepositoryService.java:228)
	at org.nuxeo.ecm.core.api.local.LocalSession.createSession(LocalSession.java:117)
	at org.nuxeo.ecm.core.api.local.LocalSession.connect(LocalSession.java:83)
	at org.nuxeo.ecm.core.api.CoreInstance.acquireCoreSession(CoreInstance.java:169)
	at org.nuxeo.ecm.core.api.CoreInstance.openCoreSession(CoreInstance.java:164)
	at org.nuxeo.ecm.core.api.CoreInstance.openCoreSession(CoreInstance.java:79)
	at org.nuxeo.ecm.core.api.UnrestrictedSessionRunner.runUnrestricted(UnrestrictedSessionRunner.java:126)
	at org.nuxeo.ecm.platform.routing.core.listener.DocumentRoutingEscalationListener.triggerEsclationRulesExecution(DocumentRoutingEscalationListener.java:70)
	at org.nuxeo.ecm.platform.routing.core.listener.DocumentRoutingEscalationListener.handleEvent(DocumentRoutingEscalationListener.java:50)
	at org.nuxeo.ecm.core.event.impl.EventServiceImpl.fireEvent(EventServiceImpl.java:191)
	at org.nuxeo.ecm.core.scheduler.EventJob.execute(EventJob.java:115)
	at org.nuxeo.ecm.core.scheduler.EventJob.execute(EventJob.java:60)
	at org.quartz.core.JobRunShell.run(JobRunShell.java:223)
	at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:549)
Caused by: org.nuxeo.ecm.core.api.DocumentException: Unknown document type: Root
	at org.nuxeo.ecm.core.storage.sql.coremodel.SQLSession.newDocument(SQLSession.java:612)
	at org.nuxeo.ecm.core.storage.sql.coremodel.SQLSession.newDocument(SQLSession.java:585)
	at org.nuxeo.ecm.core.storage.sql.coremodel.SQLSession.&amp;lt;init&amp;gt;(SQLSession.java:167)
	at org.nuxeo.ecm.core.storage.sql.ra.ConnectionFactoryImpl.getSession(ConnectionFactoryImpl.java:166)
	at org.nuxeo.ecm.core.repository.RepositoryService.getSession(RepositoryService.java:226)
	... 13 more
&lt;/CODE&gt;&lt;/PRE&gt;</description>
    <pubDate>Fri, 05 Jun 2015 10:57:03 GMT</pubDate>
    <dc:creator>Dalal_</dc:creator>
    <dc:date>2015-06-05T10:57:03Z</dc:date>
    <item>
      <title>nxs:stringList is not resolved as a type in faceted_search_default.xsd</title>
      <link>https://connect.hyland.com/t5/nuxeo-forum/nxs-stringlist-is-not-resolved-as-a-type-in-faceted-search/m-p/325319#M12320</link>
      <description>&lt;P&gt;I'm trying to customize The Faceted Search following this tutorial: &lt;A href="https://doc.nuxeo.com/display/NXDOC/Faceted+Search"&gt;Faceted Search&lt;/A&gt;
When I add a schema nxs:stringList is not resolved as a type&lt;/P&gt;
&lt;PRE&gt;&lt;CODE&gt;&amp;lt;?xml version="1.0"?&amp;gt;
&amp;lt;xs:schema targetNamespace="http://www.nuxeo.org/ecm/schemas/common/"
  xmlns:xs="http://www.w3.org/2001/XMLSchema"
  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="ecm_fulltext" type="xs:string" /&amp;gt;
  &amp;lt;xs:element name="dc_creator" type="nxs:stringList" /&amp;gt;
  &amp;lt;xs:element name="dc_created_min" type="xs:date" /&amp;gt;
  &amp;lt;xs:element name="dc_created_max" type="xs:date" /&amp;gt;
  &amp;lt;xs:element name="dc_modified_min" type="xs:date" /&amp;gt;
  &amp;lt;xs:element name="dc_modified_max" type="xs:date" /&amp;gt;
 
  &amp;lt;xs:element name="dc_coverage" type="nxs:stringList" /&amp;gt;
  &amp;lt;xs:element name="dc_subjects" type="nxs:stringList"/&amp;gt;
 
  &amp;lt;xs:element name="ecm_path" type="nxs:stringList"/&amp;gt;
 
&amp;lt;/xs:schema&amp;gt;
&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;src-resolve: Cannot resolve the name 'nxs:stringList' to a(n) 'type definition' component.&lt;/P&gt;
&lt;P&gt;I found a similar question &lt;A href="http://answers.nuxeo.com/questions/4201/why-nxsstringlist-isnt-resolve-in-my_schemaxsd"&gt;here&lt;/A&gt; I added thoses lines:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE&gt; &amp;lt;xs:complexType name="stringList"&amp;gt;
    &amp;lt;xs:sequence&amp;gt;
      &amp;lt;xs:element name="item" type="xs:string" minOccurs="0"
        maxOccurs="unbounded" /&amp;gt;
    &amp;lt;/xs:sequence&amp;gt;
  &amp;lt;/xs:complexType&amp;gt;
&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;Not working as well here's my log:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE&gt;2015-06-05 09:36:53,244 INFO  [localhost-startStop-1] [org.nuxeo.runtime.osgi.OSGiRuntimeService] Nuxeo Platform Started
======================================================================
= Component Loading Status: Pending: 0 / Unstarted: 0 / Total: 640
======================================================================
2015-06-05 09:36:56,585 WARN  [localhost-startStop-1] [org.nuxeo.ecm.platform.ui.web.application.config.JSFAnnotationProvider] container scanned classes unavailable, applying default scanning
2015-06-05 09:37:24,324 WARN  [localhost-startStop-1] [org.jboss.seam.security.permission.PersistentPermissionResolver] no permission store available - please install a PermissionStore with the name 'org.jboss.seam.security.jpaPermissionStore' if persistent permissions are required.
2015-06-05 09:37:25,196 INFO  [localhost-startStop-1] [org.nuxeo.osgi.application.FrameworkBootstrap] Framework started in 141 sec.
2015-06-05 09:37:25,206 INFO  [localhost-startStop-1] [org.apache.catalina.startup.HostConfig] Deployment of configuration descriptor C:\nuxeo-cap-7.2-tomcat\conf\Catalina\localhost\nuxeo.xml has finished in 153Â&amp;nbsp;411 ms
2015-06-05 09:37:25,206 INFO  [localhost-startStop-1] [org.apache.catalina.startup.HostConfig] DÃ©ploiement du rÃ©pertoire C:\nuxeo-cap-7.2-tomcat\webapps\host-manager de l'application web
2015-06-05 09:37:34,237 INFO  [localhost-startStop-1] [org.apache.catalina.startup.HostConfig] Deployment of web application directory C:\nuxeo-cap-7.2-tomcat\webapps\host-manager has finished in 9Â&amp;nbsp;031 ms
2015-06-05 09:37:34,237 INFO  [localhost-startStop-1] [org.apache.catalina.startup.HostConfig] DÃ©ploiement du rÃ©pertoire C:\nuxeo-cap-7.2-tomcat\webapps\manager de l'application web
2015-06-05 09:37:42,693 INFO  [localhost-startStop-1] [org.apache.catalina.startup.HostConfig] Deployment of web application directory C:\nuxeo-cap-7.2-tomcat\webapps\manager has finished in 8Â&amp;nbsp;456 ms
2015-06-05 09:37:42,694 INFO  [localhost-startStop-1] [org.apache.catalina.startup.HostConfig] DÃ©ploiement du rÃ©pertoire C:\nuxeo-cap-7.2-tomcat\webapps\ROOT de l'application web
2015-06-05 09:37:51,149 INFO  [localhost-startStop-1] [org.apache.catalina.startup.HostConfig] Deployment of web application directory C:\nuxeo-cap-7.2-tomcat\webapps\ROOT has finished in 8Â&amp;nbsp;455 ms
2015-06-05 09:37:51,239 INFO  [main] [org.apache.coyote.http11.Http11Protocol] Starting ProtocolHandler ["http-bio-0.0.0.0-8080"]
2015-06-05 09:37:51,289 INFO  [main] [org.apache.coyote.ajp.AjpProtocol] Starting ProtocolHandler ["ajp-bio-0.0.0.0-8009"]
2015-06-05 09:37:51,319 INFO  [main] [org.apache.catalina.startup.Catalina] Server startup in 204819 ms
2015-06-05 09:38:41,790 INFO  [http-bio-0.0.0.0-8080-exec-11] [org.apache.jasper.compiler.TldLocationsCache] At least one JAR was scanned for TLDs yet contained no TLDs. Enable debug logging for this logger for a complete list of JARs that were scanned but no TLDs were found in them. Skipping unneeded JARs during scanning can improve startup time and JSP compilation time.
2015-06-05 09:40:00,091 ERROR [Quartz_Worker-1] [org.nuxeo.ecm.core.storage.sql.Model] Ignoring unknown property 'dc:title' in fulltext configuration: title
2015-06-05 09:40:00,092 ERROR [Quartz_Worker-1] [org.nuxeo.ecm.core.storage.sql.Model] Ignoring unknown property 'dc:description' in fulltext configuration: description
2015-06-05 09:40:00,816 ERROR [Quartz_Worker-1] [org.nuxeo.ecm.core.event.impl.EventServiceImpl] Exception during triggerEsclationRules sync listener execution, continuing to run other listeners
org.nuxeo.ecm.core.api.local.LocalException: Failed to load repository default: Unknown document type: Root
	at org.nuxeo.ecm.core.repository.RepositoryService.getSession(RepositoryService.java:228)
	at org.nuxeo.ecm.core.api.local.LocalSession.createSession(LocalSession.java:117)
	at org.nuxeo.ecm.core.api.local.LocalSession.connect(LocalSession.java:83)
	at org.nuxeo.ecm.core.api.CoreInstance.acquireCoreSession(CoreInstance.java:169)
	at org.nuxeo.ecm.core.api.CoreInstance.openCoreSession(CoreInstance.java:164)
	at org.nuxeo.ecm.core.api.CoreInstance.openCoreSession(CoreInstance.java:79)
	at org.nuxeo.ecm.core.api.UnrestrictedSessionRunner.runUnrestricted(UnrestrictedSessionRunner.java:126)
	at org.nuxeo.ecm.platform.routing.core.listener.DocumentRoutingEscalationListener.triggerEsclationRulesExecution(DocumentRoutingEscalationListener.java:70)
	at org.nuxeo.ecm.platform.routing.core.listener.DocumentRoutingEscalationListener.handleEvent(DocumentRoutingEscalationListener.java:50)
	at org.nuxeo.ecm.core.event.impl.EventServiceImpl.fireEvent(EventServiceImpl.java:191)
	at org.nuxeo.ecm.core.scheduler.EventJob.execute(EventJob.java:115)
	at org.nuxeo.ecm.core.scheduler.EventJob.execute(EventJob.java:60)
	at org.quartz.core.JobRunShell.run(JobRunShell.java:223)
	at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:549)
Caused by: org.nuxeo.ecm.core.api.DocumentException: Unknown document type: Root
	at org.nuxeo.ecm.core.storage.sql.coremodel.SQLSession.newDocument(SQLSession.java:612)
	at org.nuxeo.ecm.core.storage.sql.coremodel.SQLSession.newDocument(SQLSession.java:585)
	at org.nuxeo.ecm.core.storage.sql.coremodel.SQLSession.&amp;lt;init&amp;gt;(SQLSession.java:167)
	at org.nuxeo.ecm.core.storage.sql.ra.ConnectionFactoryImpl.getSession(ConnectionFactoryImpl.java:166)
	at org.nuxeo.ecm.core.repository.RepositoryService.getSession(RepositoryService.java:226)
	... 13 more
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Fri, 05 Jun 2015 10:57:03 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/nuxeo-forum/nxs-stringlist-is-not-resolved-as-a-type-in-faceted-search/m-p/325319#M12320</guid>
      <dc:creator>Dalal_</dc:creator>
      <dc:date>2015-06-05T10:57:03Z</dc:date>
    </item>
  </channel>
</rss>

