<?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: how to implement custom schema ? in Nuxeo Forum</title>
    <link>https://connect.hyland.com/t5/nuxeo-forum/how-to-implement-custom-schema/m-p/324464#M11465</link>
    <description>&lt;P&gt;This is invalid XML. Please use a XML editor and validator to write XML, don't write it by hand.&lt;/P&gt;</description>
    <pubDate>Wed, 01 Feb 2012 14:29:24 GMT</pubDate>
    <dc:creator>Florent_Guillau</dc:creator>
    <dc:date>2012-02-01T14:29:24Z</dc:date>
    <item>
      <title>how to implement custom schema ?</title>
      <link>https://connect.hyland.com/t5/nuxeo-forum/how-to-implement-custom-schema/m-p/324459#M11460</link>
      <description>&lt;P&gt;hi, i m practicing with nuxeo sdk and try to register a new schema like explained here &lt;A href="http://doc.nuxeo.com/display/NXDOC/Document+types"&gt;http://doc.nuxeo.com/display/NXDOC/Document+types&lt;/A&gt;.&lt;/P&gt;
&lt;P&gt;Unfortunatly, each time, i encounter the following error :&lt;/P&gt;
&lt;P&gt;ERROR [org.nuxeo.ecm.core.schema.XSDLoader] FatalError: Premature end of file.&lt;BR /&gt; /&amp;gt;
ERROR [org.nuxeo.ecm.core.schema.TypeService] org.xml.sax.SAXParseException: Premature end of file.&lt;/P&gt;
&lt;P&gt;and the schema file became totaly empty.&lt;/P&gt;
&lt;P&gt;Did i miss something ?&lt;/P&gt;</description>
      <pubDate>Wed, 01 Feb 2012 00:03:03 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/nuxeo-forum/how-to-implement-custom-schema/m-p/324459#M11460</guid>
      <dc:creator>jeremie_</dc:creator>
      <dc:date>2012-02-01T00:03:03Z</dc:date>
    </item>
    <item>
      <title>Re: how to implement custom schema ?</title>
      <link>https://connect.hyland.com/t5/nuxeo-forum/how-to-implement-custom-schema/m-p/324460#M11461</link>
      <description>&lt;P&gt;Can you post the contents of your contribution file?&lt;/P&gt;</description>
      <pubDate>Wed, 01 Feb 2012 00:12:13 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/nuxeo-forum/how-to-implement-custom-schema/m-p/324460#M11461</guid>
      <dc:creator>bruce_Grant</dc:creator>
      <dc:date>2012-02-01T00:12:13Z</dc:date>
    </item>
    <item>
      <title>Re: how to implement custom schema ?</title>
      <link>https://connect.hyland.com/t5/nuxeo-forum/how-to-implement-custom-schema/m-p/324461#M11462</link>
      <description>&lt;P&gt;Here's the last try&lt;/P&gt;</description>
      <pubDate>Wed, 01 Feb 2012 09:53:48 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/nuxeo-forum/how-to-implement-custom-schema/m-p/324461#M11462</guid>
      <dc:creator>jeremie_</dc:creator>
      <dc:date>2012-02-01T09:53:48Z</dc:date>
    </item>
    <item>
      <title>Re: how to implement custom schema ?</title>
      <link>https://connect.hyland.com/t5/nuxeo-forum/how-to-implement-custom-schema/m-p/324462#M11463</link>
      <description>&lt;P&gt;Did you see your &amp;lt;xs&lt;/P&gt;</description>
      <pubDate>Wed, 01 Feb 2012 10:03:29 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/nuxeo-forum/how-to-implement-custom-schema/m-p/324462#M11463</guid>
      <dc:creator>Benjamin_Jalon1</dc:creator>
      <dc:date>2012-02-01T10:03:29Z</dc:date>
    </item>
    <item>
      <title>Re: how to implement custom schema ?</title>
      <link>https://connect.hyland.com/t5/nuxeo-forum/how-to-implement-custom-schema/m-p/324463#M11464</link>
      <description>&lt;P&gt;no, but i guess it's closed by &amp;lt;/schema&amp;gt;&amp;lt;br /&amp;gt;&lt;/P&gt;</description>
      <pubDate>Wed, 01 Feb 2012 14:26:11 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/nuxeo-forum/how-to-implement-custom-schema/m-p/324463#M11464</guid>
      <dc:creator>jeremie_</dc:creator>
      <dc:date>2012-02-01T14:26:11Z</dc:date>
    </item>
    <item>
      <title>Re: how to implement custom schema ?</title>
      <link>https://connect.hyland.com/t5/nuxeo-forum/how-to-implement-custom-schema/m-p/324464#M11465</link>
      <description>&lt;P&gt;This is invalid XML. Please use a XML editor and validator to write XML, don't write it by hand.&lt;/P&gt;</description>
      <pubDate>Wed, 01 Feb 2012 14:29:24 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/nuxeo-forum/how-to-implement-custom-schema/m-p/324464#M11465</guid>
      <dc:creator>Florent_Guillau</dc:creator>
      <dc:date>2012-02-01T14:29:24Z</dc:date>
    </item>
    <item>
      <title>Re: how to implement custom schema ?</title>
      <link>https://connect.hyland.com/t5/nuxeo-forum/how-to-implement-custom-schema/m-p/324465#M11466</link>
      <description>&lt;P&gt;You need to close the tag with the namespace prefix as well as schema as bjalon pointed out. For example&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/dam/schemas/dam/"
  xmlns:xs="http://www.w3.org/2001/XMLSchema" 
  xmlns:nxs="http://www.nuxeo.org/dam/schemas/dam/"&amp;gt;
  &amp;lt;xs:element name="client" type="xs:string" /&amp;gt;
  &amp;lt;xs:element name="brandMake" type="xs:string" /&amp;gt;
  &amp;lt;xs:element name="productModel" type="xs:string" /&amp;gt;
&amp;lt;/xs:schema&amp;gt;
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Wed, 01 Feb 2012 14:31:04 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/nuxeo-forum/how-to-implement-custom-schema/m-p/324465#M11466</guid>
      <dc:creator>bruce_Grant</dc:creator>
      <dc:date>2012-02-01T14:31:04Z</dc:date>
    </item>
    <item>
      <title>Re: how to implement custom schema ?</title>
      <link>https://connect.hyland.com/t5/nuxeo-forum/how-to-implement-custom-schema/m-p/324466#M11467</link>
      <description>&lt;P&gt;thank you, so i just closed the schema like you did, double check the file...and still have the same error.&lt;/P&gt;</description>
      <pubDate>Wed, 01 Feb 2012 15:17:46 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/nuxeo-forum/how-to-implement-custom-schema/m-p/324466#M11467</guid>
      <dc:creator>jeremie_</dc:creator>
      <dc:date>2012-02-01T15:17:46Z</dc:date>
    </item>
    <item>
      <title>Re: how to implement custom schema ?</title>
      <link>https://connect.hyland.com/t5/nuxeo-forum/how-to-implement-custom-schema/m-p/324467#M11468</link>
      <description>&lt;P&gt;Then your file is still not valid XML. We can't help you without seeing the exact file (use pastebin.com for instance to show it to us), and anyway you should be able check by yourself that the XML is valid or not, there are many many tools to do it.&lt;/P&gt;</description>
      <pubDate>Wed, 01 Feb 2012 15:26:21 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/nuxeo-forum/how-to-implement-custom-schema/m-p/324467#M11468</guid>
      <dc:creator>Florent_Guillau</dc:creator>
      <dc:date>2012-02-01T15:26:21Z</dc:date>
    </item>
    <item>
      <title>Re: how to implement custom schema ?</title>
      <link>https://connect.hyland.com/t5/nuxeo-forum/how-to-implement-custom-schema/m-p/324468#M11469</link>
      <description>&lt;P&gt;Finally, i should have checked the file one more time. it's working now with the closing &amp;lt;/xs&lt;/P&gt;</description>
      <pubDate>Wed, 01 Feb 2012 17:27:45 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/nuxeo-forum/how-to-implement-custom-schema/m-p/324468#M11469</guid>
      <dc:creator>jeremie_</dc:creator>
      <dc:date>2012-02-01T17:27:45Z</dc:date>
    </item>
  </channel>
</rss>

