<div dir="ltr">Hi Lorenz,<div><br></div><div>After removing the errant comment, I get this error:<br><br><div>03 Apr 2017 18:19:41,663 ERROR [ncms.loader.CmsResourceManager: 618] Error in getAllowedContextMap, schema=/system/modules/elixir.opencms/schemas/NestedContainer.xsd, type=NestedContainer, Invalid OpenCms content definition XML schema structure:</div><div>Element "/xsd:schema/xsd:complexType[1]/xsd:sequence/xsd:element" attribute "type" value must be "OpenCmsDatas" not "OpenCmsData".</div><div>org.opencms.xml.CmsXmlException: Invalid OpenCms content definition XML schema structure:</div><div>Element "/xsd:schema/xsd:complexType[1]/xsd:sequence/xsd:element" attribute "type" value must be "OpenCmsDatas" not "OpenCmsData".<br><br>But I do want just a single data element, not multiple data elements. Can I get that and still pass this peculiar validation? </div><div><br></div><div>Regards,</div><div>Clement</div><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Apr 3, 2017 at 6:00 PM,  <span dir="ltr"><<a href="mailto:opencms-dev-request@opencms.org" target="_blank">opencms-dev-request@opencms.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Send opencms-dev mailing list submissions to<br>
        <a href="mailto:opencms-dev@opencms.org">opencms-dev@opencms.org</a><br>
<br>
To subscribe or unsubscribe via the World Wide Web, visit<br>
        <a href="http://lists.opencms.org/cgi-bin/mailman/listinfo/opencms-dev" rel="noreferrer" target="_blank">http://lists.opencms.org/cgi-<wbr>bin/mailman/listinfo/opencms-<wbr>dev</a><br>
or, via email, send a message with subject or body 'help' to<br>
        <a href="mailto:opencms-dev-request@opencms.org">opencms-dev-request@opencms.<wbr>org</a><br>
<br>
You can reach the person managing the list at<br>
        <a href="mailto:opencms-dev-owner@opencms.org">opencms-dev-owner@opencms.org</a><br>
<br>
When replying, please edit your Subject line so it is more specific<br>
than "Re: Contents of opencms-dev digest..."<br>
<br>
<br>
Today's Topics:<br>
<br>
   1. Re: NPE when using group in Solr search query (Daniel Seidel)<br>
   2. Cannot Include Nested XSDs in OpenCMS 10.5.1 (Clement Wee)<br>
   3. Re: Cannot Include Nested XSDs in OpenCMS 10.5.1<br>
      (Lorenz Lammersdorf)<br>
<br>
<br>
------------------------------<wbr>------------------------------<wbr>----------<br>
<br>
Message: 1<br>
Date: Mon, 3 Apr 2017 09:07:43 +0200<br>
From: Daniel Seidel <<a href="mailto:d.seidel@alkacon.com">d.seidel@alkacon.com</a>><br>
To: <a href="mailto:opencms-dev@opencms.org">opencms-dev@opencms.org</a><br>
Subject: Re: [opencms-dev] NPE when using group in Solr search query<br>
Message-ID: <<a href="mailto:b8e364f2-1907-ee0c-4973-be231b9b0c04@alkacon.com">b8e364f2-1907-ee0c-4973-<wbr>be231b9b0c04@alkacon.com</a>><br>
Content-Type: text/plain; charset="windows-1252"; Format="flowed"<br>
<br>
Hi Felix,<br>
<br>
currently it is not our focus to alter the Solr integration. Depending<br>
on customer needs it might change.<br>
<br>
Best, Daniel.<br>
<br>
<br>
Am 28.03.2017 um 16:21 schrieb Felix Noz:<br>
> Hi Daniel,<br>
><br>
> alright, thanks a lot for the quuck and clear Answer. I think I'll<br>
> handle this in another way.<br>
> Just for curiosity: are there any plans to support grouping in future?<br>
><br>
> Kind regards<br>
> Felix<br>
> --<br>
> Diese Nachricht wurde von meinem Android Mobiltelefon mit GMX Mail<br>
> gesendet.<br>
> Am 28.03.17, 15:34, Daniel Seidel <d.seidel<br>
> <<a href="http://d.seidel" rel="noreferrer" target="_blank">http://d.seidel</a>>@<a href="http://alkacon.com" rel="noreferrer" target="_blank">alkacon.com</a>> schrieb:<br>
><br>
>     Hi Felix,<br>
><br>
>     just a comment on the group feature: It currently does not work<br>
>     with OpenCms. I just debugged the code. The problem is<br>
>     org.opencms.search.solr.<wbr>CmsSolrIndex#search(CmsObject,<br>
>     CmsSolrQuery, boolean, ServletResponse, boolean,<br>
>     CmsResourceFilter). Here the "hitCount" is extracted from the<br>
>     QueryResponse via queryResponse.getResults().<wbr>getNumFound() - but<br>
>     queryResponse.getResults() yields null for a grouped response.<br>
><br>
>     Best, Daniel.<br>
><br>
><br>
>     Am 27.03.2017 um 20:46 schrieb <a href="mailto:f.noz@gmx.de">f.noz@gmx.de</a>:<br>
><br>
>         Hi Daniel,<br>
>         it's OpenCms 10.0.1<br>
>         The exception doesn't occur when I use the solr parameter<br>
>         group.main=true but then I get only one result instead of a<br>
>         flat and grouped list of all results as mentioned in the solr<br>
>         doucmentation.<br>
>         Maybe my approach is wrong because I'm trying to solve a<br>
>         really banal problem. I just want the result first sorted by<br>
>         the boolean field ride_recurring (when value==true) and then<br>
>         by a date field descending, eg having the following resources<br>
>         Ride1: recurring=false, date=01.05.2017<br>
>         Ride2: recurring=true, date=01.05.2017<br>
>         Ride3: recurring=true, date=01.06.2017<br>
>         Ride4: recurring=false, date=01.06.2017<br>
>         should give the result in the folloging order:<br>
>         Ride3 -> Ride2 -> Ride4 -> Ride1<br>
>         using sort=recurring_s asc,date_dt desc results in strange<br>
>         order so that's why I try it with group.<br>
>         Any suggestions?<br>
>         Regards<br>
>         Felix<br>
>         *Gesendet:* Mittwoch, 22. M?rz 2017 um 14:10 Uhr<br>
>         *Von:* "Daniel Seidel" <<a href="mailto:d.seidel@alkacon.com">d.seidel@alkacon.com</a>><br>
>         *An:* <a href="mailto:opencms-dev@opencms.org">opencms-dev@opencms.org</a><br>
>         *Betreff:* Re: [opencms-dev] NPE when using group in Solr<br>
>         search query<br>
><br>
>         Hi Felix,<br>
><br>
>         could you please tell me your OpenCms-Version?<br>
><br>
>         Best, Daniel.<br>
><br>
>         Am 22.03.2017 um 12:40 schrieb Felix Noz:<br>
><br>
>             Hi guys,<br>
>             there's an XmlContent which contains a field named<br>
>             ride_recurring of type OpenCmsBoolean. My goal is that the<br>
>             result of the query shows first all items with<br>
>             ride_recurring==false and only after that all items with<br>
>             ride_recurring==false.<br>
>             When omitting the grouping parameters the search works<br>
>             fine and all items are displayed non-grouped but as soon<br>
>             as adding &group=true&group.field=ride_<wbr>recurring_s the<br>
>             exception below occurs.<br>
>             Can anybody help me and tell me what's going wrong there?<br>
>             Regards<br>
>             Felix<br>
>             Caused by: org.opencms.search.<wbr>CmsSearchException:<br>
>             Ausf?hrung des Queries<br>
>             "q=*:*&fl=*,score&qt=edismax&<wbr>rows=5000&fq=expired:[NOW TO<br>
>             *]&fq=con_locales:de&fq=<wbr>parent-folders:"/sites/<wbr>default/"&fq=type:nb-ms-ride&<wbr>fq=released:[*<br>
>             TO<br>
>             NOW]&fq=search_exclude:"false"<wbr>&group.field=ride_recurring_s&<wbr>group=true&start=0"<br>
>             schlug fehl.<br>
>                 at<br>
>             org.opencms.search.solr.<wbr>CmsSolrIndex.search(<wbr>CmsSolrIndex.java:1095)<br>
>                 at<br>
>             org.opencms.search.solr.<wbr>CmsSolrIndex.search(<wbr>CmsSolrIndex.java:507)<br>
>                 at<br>
>             org.opencms.file.collectors.<wbr>CmsSolrCollector.getResults(<wbr>CmsSolrCollector.java:193)<br>
>                 at<br>
>             org.opencms.file.collectors.<wbr>CmsSolrCollector.getResults(<wbr>CmsSolrCollector.java:169)<br>
>                 at<br>
>             org.opencms.jsp.<wbr>CmsJspTagContentLoad.init(<wbr>CmsJspTagContentLoad.java:575)<br>
>                 at<br>
>             org.opencms.jsp.<wbr>CmsJspTagContentLoad.<wbr>doStartTag(<wbr>CmsJspTagContentLoad.java:235)<br>
>                 at<br>
>             org.apache.jsp.WEB_002dINF.<wbr>jsp.offline.system.modules.<wbr>XXX_002dlist_jsp._jspService(<wbr>ride_002dlist_jsp.java:373)<br>
>                 at<br>
>             org.apache.jasper.runtime.<wbr>HttpJspBase.service(<wbr>HttpJspBase.java:70)<br>
>                 at<br>
>             javax.servlet.http.<wbr>HttpServlet.service(<wbr>HttpServlet.java:729)<br>
>                 at<br>
>             org.apache.jasper.servlet.<wbr>JspServletWrapper.service(<wbr>JspServletWrapper.java:443)<br>
>                 at<br>
>             org.apache.jasper.servlet.<wbr>JspServlet.serviceJspFile(<wbr>JspServlet.java:385)<br>
>                 at<br>
>             org.apache.jasper.servlet.<wbr>JspServlet.service(JspServlet.<wbr>java:329)<br>
>                 at<br>
>             javax.servlet.http.<wbr>HttpServlet.service(<wbr>HttpServlet.java:729)<br>
>                 at<br>
>             org.apache.catalina.core.<wbr>ApplicationFilterChain.<wbr>internalDoFilter(<wbr>ApplicationFilterChain.java:<wbr>230)<br>
>                 at<br>
>             org.apache.catalina.core.<wbr>ApplicationFilterChain.<wbr>doFilter(<wbr>ApplicationFilterChain.java:<wbr>165)<br>
>                 at<br>
>             com.XXX.filter.BaseFilter.<wbr>processFilter(BaseFilter.java:<wbr>82)<br>
>                 at<br>
>             com.XXX.filter.WelcomeFilter.<wbr>processFilter(WelcomeFilter.<wbr>java:86)<br>
>                 at com.XXX.filter.BaseFilter.<wbr>doFilter(BaseFilter.java:31)<br>
>                 at<br>
>             org.apache.catalina.core.<wbr>ApplicationFilterChain.<wbr>internalDoFilter(<wbr>ApplicationFilterChain.java:<wbr>192)<br>
>                 at<br>
>             org.apache.catalina.core.<wbr>ApplicationFilterChain.<wbr>doFilter(<wbr>ApplicationFilterChain.java:<wbr>165)<br>
>                 at<br>
>             org.apache.catalina.core.<wbr>ApplicationDispatcher.invoke(<wbr>ApplicationDispatcher.java:<wbr>726)<br>
>                 at<br>
>             org.apache.catalina.core.<wbr>ApplicationDispatcher.<wbr>doInclude(<wbr>ApplicationDispatcher.java:<wbr>592)<br>
>                 at<br>
>             org.apache.catalina.core.<wbr>ApplicationDispatcher.include(<wbr>ApplicationDispatcher.java:<wbr>526)<br>
>                 at<br>
>             org.opencms.flex.<wbr>CmsFlexRequestDispatcher.<wbr>includeExternal(<wbr>CmsFlexRequestDispatcher.java:<wbr>191)<br>
>                 at<br>
>             org.opencms.flex.<wbr>CmsFlexRequestDispatcher.<wbr>include(<wbr>CmsFlexRequestDispatcher.java:<wbr>165)<br>
>                 at<br>
>             org.opencms.flex.<wbr>CmsFlexRequestDispatcher.<wbr>includeExternal(<wbr>CmsFlexRequestDispatcher.java:<wbr>191)<br>
>                 at<br>
>             org.opencms.flex.<wbr>CmsFlexRequestDispatcher.<wbr>include(<wbr>CmsFlexRequestDispatcher.java:<wbr>165)<br>
>                 at<br>
>             org.opencms.loader.<wbr>CmsJspLoader.service(<wbr>CmsJspLoader.java:655)<br>
>                 at<br>
>             org.opencms.flex.<wbr>CmsFlexRequestDispatcher.<wbr>includeInternalWithCache(<wbr>CmsFlexRequestDispatcher.java:<wbr>441)<br>
>                 at<br>
>             org.opencms.flex.<wbr>CmsFlexRequestDispatcher.<wbr>include(<wbr>CmsFlexRequestDispatcher.java:<wbr>169)<br>
>                 at<br>
>             org.opencms.jsp.<wbr>CmsJspTagInclude.<wbr>includeActionWithCache(<wbr>CmsJspTagInclude.java:379)<br>
>                 at<br>
>             org.opencms.jsp.<wbr>CmsJspTagInclude.<wbr>includeTagAction(<wbr>CmsJspTagInclude.java:244)<br>
>                 at<br>
>             org.opencms.jsp.<wbr>CmsJspTagInclude.doEndTag(<wbr>CmsJspTagInclude.java:490)<br>
>                 at<br>
>             org.apache.jsp.WEB_002dINF.<wbr>jsp.offline.system.modules.<wbr>org_opencms_ade_config.<wbr>formatters.function_jsp._jspx_<wbr>meth_cms_005finclude_005f0(<wbr>function_jsp.java:340)<br>
>                 at<br>
>             org.apache.jsp.WEB_002dINF.<wbr>jsp.offline.system.modules.<wbr>org_opencms_ade_config.<wbr>formatters.function_jsp._jspx_<wbr>meth_c_005fwhen_005f0(<wbr>function_jsp.java:288)<br>
>                 at<br>
>             org.apache.jsp.WEB_002dINF.<wbr>jsp.offline.system.modules.<wbr>org_opencms_ade_config.<wbr>formatters.function_jsp._jspx_<wbr>meth_c_005fchoose_005f0(<wbr>function_jsp.java:249)<br>
>                 at<br>
>             org.apache.jsp.WEB_002dINF.<wbr>jsp.offline.system.modules.<wbr>org_opencms_ade_config.<wbr>formatters.function_jsp._jspx_<wbr>meth_cms_005fformatter_005f0(<wbr>function_jsp.java:191)<br>
>                 at<br>
>             org.apache.jsp.WEB_002dINF.<wbr>jsp.offline.system.modules.<wbr>org_opencms_ade_config.<wbr>formatters.function_jsp._<wbr>jspService(function_jsp.java:<wbr>142)<br>
>                 ... 117 more<br>
>             Caused by: java.lang.NullPointerException<br>
>                 at<br>
>             org.opencms.search.solr.<wbr>CmsSolrIndex.search(<wbr>CmsSolrIndex.java:866)<br>
>                 ... 154 more<br>
><br>
>             ______________________________<wbr>_________________<br>
>             This mail is sent to you from the opencms-dev mailing list<br>
>             To change your list options, or to unsubscribe from the list, please visit<br>
>             <a href="http://lists.opencms.org/cgi-bin/mailman/listinfo/opencms-dev" rel="noreferrer" target="_blank">http://lists.opencms.org/cgi-<wbr>bin/mailman/listinfo/opencms-<wbr>dev</a><br>
><br>
><br>
><br>
>         --<br>
>         Kind Regards,<br>
>         Daniel.<br>
><br>
>         -------------------<br>
><br>
>         Daniel Seidel<br>
><br>
>         Alkacon Software GmbH & Co. KG - The OpenCms Experts<br>
>         <a href="http://www.alkacon.com" rel="noreferrer" target="_blank">http://www.alkacon.com</a>  -<a href="http://www.opencms.org" rel="noreferrer" target="_blank">http://www.opencms.org</a><br>
><br>
>         ______________________________<wbr>_________________ This mail is<br>
>         sent to you from the opencms-dev mailing list To change your<br>
>         list options, or to unsubscribe from the list, please visit<br>
>         <a href="http://lists.opencms.org/cgi-bin/mailman/listinfo/opencms-dev" rel="noreferrer" target="_blank">http://lists.opencms.org/cgi-<wbr>bin/mailman/listinfo/opencms-<wbr>dev</a><br>
><br>
><br>
>         ______________________________<wbr>_________________<br>
>         This mail is sent to you from the opencms-dev mailing list<br>
>         To change your list options, or to unsubscribe from the list, please visit<br>
>         <a href="http://lists.opencms.org/cgi-bin/mailman/listinfo/opencms-dev" rel="noreferrer" target="_blank">http://lists.opencms.org/cgi-<wbr>bin/mailman/listinfo/opencms-<wbr>dev</a><br>
><br>
><br>
><br>
><br>
>     --<br>
>     Daniel Seidel<br>
><br>
>     -------------------<br>
><br>
>     Alkacon Software GmbH & Co. KG - The OpenCms Experts<br>
>     Daniel Seidel<br>
>     An der Wachsfabrik 13<br>
>     50996 Koeln, DE<br>
><br>
>     Tel: <a href="tel:%2B49%20%280%292236%203826-16" value="+492236382616">+49 (0)2236 3826-16</a><br>
>     Fax: <a href="tel:%2B49%20%280%292236%203826-20" value="+492236382620">+49 (0)2236 3826-20</a><br>
>     <a href="mailto:Email%3Ad.seidel@alkacon.com">Email:d.seidel@alkacon.com</a><br>
><br>
>     <a href="http://www.alkacon.com" rel="noreferrer" target="_blank">http://www.alkacon.com</a><br>
>     <a href="http://www.opencms.org" rel="noreferrer" target="_blank">http://www.opencms.org</a><br>
><br>
>     Amtsgericht K?ln, HRA 32185, USt-IdNr.: DE259882372<br>
>     Vertreten durch: Alkacon Verwaltungs GmbH<br>
>     Gesch?ftsf?hrer: Alexander Kandzior, Amtsgericht K?ln, HRB 88218<br>
><br>
>     ______________________________<wbr>_________________ This mail is sent<br>
>     to you from the opencms-dev mailing list To change your list<br>
>     options, or to unsubscribe from the list, please visit<br>
>     <a href="http://lists.opencms.org/cgi-bin/mailman/listinfo/opencms-dev" rel="noreferrer" target="_blank">http://lists.opencms.org/cgi-<wbr>bin/mailman/listinfo/opencms-<wbr>dev</a><br>
><br>
><br>
><br>
> ______________________________<wbr>_________________<br>
> This mail is sent to you from the opencms-dev mailing list<br>
> To change your list options, or to unsubscribe from the list, please visit<br>
> <a href="http://lists.opencms.org/cgi-bin/mailman/listinfo/opencms-dev" rel="noreferrer" target="_blank">http://lists.opencms.org/cgi-<wbr>bin/mailman/listinfo/opencms-<wbr>dev</a><br>
><br>
><br>
><br>
<br>
--<br>
Kind Regards,<br>
Daniel.<br>
<br>
-------------------<br>
<br>
Daniel Seidel<br>
<br>
Alkacon Software GmbH & Co. KG - The OpenCms Experts<br>
<a href="http://www.alkacon.com" rel="noreferrer" target="_blank">http://www.alkacon.com</a> - <a href="http://www.opencms.org" rel="noreferrer" target="_blank">http://www.opencms.org</a><br>
<br>
-------------- next part --------------<br>
An HTML attachment was scrubbed...<br>
URL: <<a href="http://lists.opencms.org/pipermail/opencms-dev/attachments/20170403/90e1fffc/attachment-0001.html" rel="noreferrer" target="_blank">http://lists.opencms.org/<wbr>pipermail/opencms-dev/<wbr>attachments/20170403/90e1fffc/<wbr>attachment-0001.html</a>><br>
<br>
------------------------------<br>
<br>
Message: 2<br>
Date: Mon, 3 Apr 2017 17:11:25 +0800<br>
From: Clement Wee <<a href="mailto:clement@elixirtech.com">clement@elixirtech.com</a>><br>
To: <a href="mailto:opencms-dev@opencms.org">opencms-dev@opencms.org</a><br>
Subject: [opencms-dev] Cannot Include Nested XSDs in OpenCMS 10.5.1<br>
Message-ID:<br>
        <<a href="mailto:CAM8TMLCC8BAbE-5k5VOe6%2BrU5zn4d-mwEFLNwxug%2BCqc9c1a6g@mail.gmail.com">CAM8TMLCC8BAbE-5k5VOe6+<wbr>rU5zn4d-mwEFLNwxug+Cqc9c1a6g@<wbr>mail.gmail.com</a>><br>
Content-Type: text/plain; charset="utf-8"<br>
<br>
Hi guys,<br>
<br>
I am trying to use nested XSDs in my resource-type, but it keeps failing<br>
with "invalid XML" error. The XSDs validate properly, so it is not the XSD.<br>
<br>
The container is as follows:-<br>
<br>
<xsd:schema xmlns:xsd="<a href="http://www.w3.org/2001/XMLSchema" rel="noreferrer" target="_blank">http://www.w3.org/<wbr>2001/XMLSchema</a>"<br>
elementFormDefault="qualified"<wbr>><br>
<br>
<xsd:include schemaLocation="opencms://<wbr>opencms-xmlcontent.xsd"/><br>
<xsd:include<br>
schemaLocation="opencms://<wbr>system/modules/elixir.opencms/<wbr>schemas/NestedDefault.xsd"/><br>
<xsd:include<br>
schemaLocation="opencms://<wbr>system/modules/elixir.opencms/<wbr>schemas/Data.xsd"/><br>
<br>
<xsd:element name="NestedContainers" type="OpenCmsNestedContainers"<wbr>/><br>
<br>
<xsd:complexType name="OpenCmsNestedContainers"<wbr>><br>
<xsd:sequence><br>
<xsd:element name="NestedContainer" type="OpenCmsNestedContainer"<br>
minOccurs="0" maxOccurs="unbounded"/><br>
</xsd:sequence><br>
</xsd:complexType><br>
<br>
<xsd:complexType name="OpenCmsNestedContainer"><br>
<xsd:sequence><br>
<xsd:element name="Properties" type="OpenCmsNestedDefault" /><br>
<xsd:element name="Data" type="OpenCmsElxData" /><br>
</xsd:sequence><br>
<xsd:attribute name="language" type="OpenCmsLocale" use="required"/><br>
</xsd:complexType><br>
<br>
<xsd:annotation><br>
<xsd:appinfo><br>
<mappings><br>
<mapping element="Properties" mapto="property:Properties" /><br>
<mapping element="Data" mapto="property:Data" /><br>
</mappings><br>
<validationrules/><br>
<relations/><br>
<searchsettings containerPageOnly="true"/><br>
</xsd:appinfo><br>
</xsd:annotation><br>
<br>
</xsd:schema><br>
<br>
NestedDefault is:-<br>
<br>
<xsd:schema xmlns:xsd="<a href="http://www.w3.org/2001/XMLSchema" rel="noreferrer" target="_blank">http://www.w3.org/<wbr>2001/XMLSchema</a>"<br>
elementFormDefault="qualified"<wbr>><br>
<br>
<xsd:include schemaLocation="opencms://<wbr>opencms-xmlcontent.xsd"/><br>
<br>
<xsd:element name="NestedDefaults" type="OpenCmsNestedDefaults"/><br>
<br>
<xsd:complexType name="OpenCmsNestedDefaults"><br>
<xsd:sequence><br>
<xsd:element name="NestedDefault" type="OpenCmsNestedDefault" minOccurs="0"<br>
maxOccurs="unbounded"/><br>
</xsd:sequence><br>
</xsd:complexType><br>
<br>
<xsd:complexType name="OpenCmsNestedDefault"><br>
<xsd:sequence><br>
<xsd:element name="Title" type="OpenCmsString" /><br>
<xsd:element name="Text" type="OpenCmsHtml" /><br>
</xsd:sequence><br>
<xsd:attribute name="language" type="OpenCmsLocale" use="required"/><br>
</xsd:complexType><br>
<br>
<xsd:annotation><br>
<xsd:appinfo><br>
<mappings><br>
<mapping element="Title" mapto="property:Title" /><br>
<mapping element="Title" mapto="urlName" /><br>
</mappings><br>
<defaults><br>
<default element="Title" value="Add a new title here" /><br>
<default element="Text" value="Add your text" /><br>
</defaults><br>
<layouts><br>
<layout element="Text" widget="HtmlWidget" configuration="<wbr>downloadgallery"<br>
/><br>
</layouts><br>
<validationrules/><br>
<relations/><br>
<searchsettings containerPageOnly="true"/><br>
</xsd:appinfo><br>
</xsd:annotation><br>
<br>
</xsd:schema><br>
<br>
Data is:-<br>
<br>
<xsd:schema xmlns:xsd="<a href="http://www.w3.org/2001/XMLSchema" rel="noreferrer" target="_blank">http://www.w3.org/<wbr>2001/XMLSchema</a>"<br>
elementFormDefault="qualified"<wbr>><br>
<br>
<xsd:include schemaLocation="opencms://<wbr>opencms-xmlcontent.xsd"/><br>
<br>
<xsd:element name="ElxDatas" type="OpenCmsElxDatas"/><br>
<br>
<xsd:complexType name="OpenCmsElxData"><br>
<xsd:sequence><br>
<xsd:element name="ElxDatas" type="OpenCmsElxData" minOccurs="0"<br>
maxOccurs="unbounded"/><br>
</xsd:sequence><br>
</xsd:complexType><br>
<br>
<xsd:complexType name="OpenCmsElxData"><br>
<xsd:sequence><br>
<xsd:element name="Value" type="OpenCmsString"/><br>
</xsd:sequence><br>
<xsd:attribute name="language" type="OpenCmsLocale" use="required"/><br>
</xsd:complexType><br>
<br>
<xsd:annotation><br>
<xsd:appinfo><br>
<mappings><br>
<mapping element="Value" mapto="property:Value" /><br>
</mappings><br>
<defaults><br>
<default element="Value"<br>
value="Series,Category,Value\<wbr>nSeries1,Cat1,10\nSeries1,<wbr>Cat2,20\nSeries2,Cat1,40\<wbr>nSeries2,Cat2,80"<br>
/>--><br>
</defaults><br>
<layouts><br>
<layout element="Value" widget="TextareaWidget" configuration="20"/><br>
</layouts><br>
<validationrules/><br>
<relations/><br>
<searchsettings containerPageOnly="true"/><br>
</xsd:appinfo><br>
</xsd:annotation><br>
<br>
</xsd:schema><br>
<br>
<br>
What is the invalid XML in any of these?<br>
<br>
Regards,<br>
Clement<br>
<br>
On Sat, Apr 1, 2017 at 6:00 PM, <<a href="mailto:opencms-dev-request@opencms.org">opencms-dev-request@opencms.<wbr>org</a>> wrote:<br>
<br>
> Send opencms-dev mailing list submissions to<br>
>         <a href="mailto:opencms-dev@opencms.org">opencms-dev@opencms.org</a><br>
><br>
> To subscribe or unsubscribe via the World Wide Web, visit<br>
>         <a href="http://lists.opencms.org/cgi-bin/mailman/listinfo/opencms-dev" rel="noreferrer" target="_blank">http://lists.opencms.org/cgi-<wbr>bin/mailman/listinfo/opencms-<wbr>dev</a><br>
> or, via email, send a message with subject or body 'help' to<br>
>         <a href="mailto:opencms-dev-request@opencms.org">opencms-dev-request@opencms.<wbr>org</a><br>
><br>
> You can reach the person managing the list at<br>
>         <a href="mailto:opencms-dev-owner@opencms.org">opencms-dev-owner@opencms.org</a><br>
><br>
> When replying, please edit your Subject line so it is more specific<br>
> than "Re: Contents of opencms-dev digest..."<br>
><br>
><br>
> Today's Topics:<br>
><br>
>    1.  TinyMCE filtering (Sandrine Prousteau)<br>
><br>
><br>
> ------------------------------<wbr>------------------------------<wbr>----------<br>
><br>
> Message: 1<br>
> Date: Fri, 31 Mar 2017 12:06:43 +0000<br>
> From: Sandrine Prousteau <<a href="mailto:s.prousteau@eurelis.com">s.prousteau@eurelis.com</a>><br>
> To: The OpenCms mailing list <<a href="mailto:opencms-dev@opencms.org">opencms-dev@opencms.org</a>><br>
> Subject: [opencms-dev]  TinyMCE filtering<br>
> Message-ID:<br>
>         <<wbr>HE1PR0601MB2602674612AA686714C<wbr>8CA28F7370@HE1PR0601MB2602.<br>
> <a href="http://eurprd06.prod.outlook.com" rel="noreferrer" target="_blank">eurprd06.prod.outlook.com</a>><br>
><br>
> Content-Type: text/plain; charset="us-ascii"<br>
><br>
> Hi all,<br>
><br>
><br>
><br>
> We have a little issue on our xmlcontent editions : on HtmlWidget fields,<br>
> running with TinyMCE editor, when our user is pasting from a *.docx a piece<br>
> of text containing unordered list of percent values with some bold<br>
> contents, some contents are cut. It's done with simple "paste", not "paste<br>
> as text".<br>
><br>
> Example :<br>
><br>
> This value (numerics are in bold)<br>
><br>
> +12.5%<br>
><br>
> Is turned to<br>
><br>
> +5%<br>
><br>
><br>
><br>
> I have tried it on inline TinyMCE codepen <a href="http://codepen.io/tinymce/pen/" rel="noreferrer" target="_blank">http://codepen.io/tinymce/pen/</a><br>
> YydQrY, and I found that with the options "paste_enable_default_filters:<br>
> false" set in the .init(), the numerics are not cut (but all .docx styles<br>
> are kept obviously).<br>
><br>
><br>
><br>
> Is there someone who had this issue, and found a solution?<br>
><br>
> Is there someone who knows how TinyMCE filters work?<br>
><br>
><br>
><br>
> OpenCms 9.5.2.x / Windows 10 / Chrome<br>
><br>
><br>
><br>
> Thanks for help.<br>
><br>
><br>
><br>
> Sandrine<br>
><br>
><br>
> -------------- next part --------------<br>
> An HTML attachment was scrubbed...<br>
> URL: <<a href="http://lists.opencms.org/pipermail/opencms-dev/" rel="noreferrer" target="_blank">http://lists.opencms.org/<wbr>pipermail/opencms-dev/</a><br>
> attachments/20170331/f34d4478/<wbr>attachment-0001.html><br>
><br>
> ------------------------------<br>
><br>
> ______________________________<wbr>_________________<br>
> This mail is sent to you from the opencms-dev mailing list<br>
> To change your list options, or to unsubscribe from the list, please visit<br>
> <a href="http://lists.opencms.org/cgi-bin/mailman/listinfo/opencms-dev" rel="noreferrer" target="_blank">http://lists.opencms.org/cgi-<wbr>bin/mailman/listinfo/opencms-<wbr>dev</a><br>
><br>
> End of opencms-dev Digest, Vol 282, Issue 6<br>
> ******************************<wbr>*************<br>
><br>
-------------- next part --------------<br>
An HTML attachment was scrubbed...<br>
URL: <<a href="http://lists.opencms.org/pipermail/opencms-dev/attachments/20170403/693fcfea/attachment-0001.html" rel="noreferrer" target="_blank">http://lists.opencms.org/<wbr>pipermail/opencms-dev/<wbr>attachments/20170403/693fcfea/<wbr>attachment-0001.html</a>><br>
<br>
------------------------------<br>
<br>
Message: 3<br>
Date: Mon, 3 Apr 2017 09:27:36 +0000<br>
From: Lorenz Lammersdorf <<a href="mailto:lorenz.lammersdorf@kernbrand.ch">lorenz.lammersdorf@kernbrand.<wbr>ch</a>><br>
To: "<a href="mailto:opencms-dev@opencms.org">opencms-dev@opencms.org</a>" <<a href="mailto:opencms-dev@opencms.org">opencms-dev@opencms.org</a>><br>
Subject: Re: [opencms-dev] Cannot Include Nested XSDs in OpenCMS<br>
        10.5.1<br>
Message-ID:<br>
        <<a href="mailto:HE1PR07MB3178928719F4B8EAE5822B2BEE080@HE1PR07MB3178.eurprd07.prod.outlook.com">HE1PR07MB3178928719F4B8EAE582<wbr>2B2BEE080@HE1PR07MB3178.<wbr>eurprd07.prod.outlook.com</a>><br>
<br>
Content-Type: text/plain; charset="us-ascii"<br>
<br>
<default element="Value" value="Series,Category,Value\<wbr>nSeries1,Cat1,10\nSeries1,<wbr>Cat2,20\nSeries2,Cat1,40\<wbr>nSeries2,Cat2,80" />--><br>
<br>
<br>
remove --><br>
<br>
<br>
regards<br>
<br>
lorenz<br>
<br>
______________________________<wbr>__<br>
Von: <a href="mailto:opencms-dev-bounces@opencms.org">opencms-dev-bounces@opencms.<wbr>org</a> <<a href="mailto:opencms-dev-bounces@opencms.org">opencms-dev-bounces@opencms.<wbr>org</a>> im Auftrag von Clement Wee <<a href="mailto:clement@elixirtech.com">clement@elixirtech.com</a>><br>
Gesendet: Montag, 3. April 2017 11:11:25<br>
An: <a href="mailto:opencms-dev@opencms.org">opencms-dev@opencms.org</a><br>
Betreff: [opencms-dev] Cannot Include Nested XSDs in OpenCMS 10.5.1<br>
<br>
Hi guys,<br>
<br>
I am trying to use nested XSDs in my resource-type, but it keeps failing with "invalid XML" error. The XSDs validate properly, so it is not the XSD.<br>
<br>
The container is as follows:-<br>
<br>
<xsd:schema xmlns:xsd="<a href="http://www.w3.org/2001/XMLSchema" rel="noreferrer" target="_blank">http://www.w3.org/<wbr>2001/XMLSchema</a>" elementFormDefault="qualified"<wbr>><br>
<br>
<xsd:include schemaLocation="opencms://<wbr>opencms-xmlcontent.xsd"/><br>
<xsd:include schemaLocation="opencms://<wbr>system/modules/elixir.opencms/<wbr>schemas/NestedDefault.xsd"/><br>
<xsd:include schemaLocation="opencms://<wbr>system/modules/elixir.opencms/<wbr>schemas/Data.xsd"/><br>
<br>
<xsd:element name="NestedContainers" type="OpenCmsNestedContainers"<wbr>/><br>
<br>
<xsd:complexType name="OpenCmsNestedContainers"<wbr>><br>
<xsd:sequence><br>
<xsd:element name="NestedContainer" type="OpenCmsNestedContainer" minOccurs="0" maxOccurs="unbounded"/><br>
</xsd:sequence><br>
</xsd:complexType><br>
<br>
<xsd:complexType name="OpenCmsNestedContainer"><br>
<xsd:sequence><br>
<xsd:element name="Properties" type="OpenCmsNestedDefault" /><br>
<xsd:element name="Data" type="OpenCmsElxData" /><br>
</xsd:sequence><br>
<xsd:attribute name="language" type="OpenCmsLocale" use="required"/><br>
</xsd:complexType><br>
<br>
<xsd:annotation><br>
<xsd:appinfo><br>
<mappings><br>
<mapping element="Properties" mapto="property:Properties" /><br>
<mapping element="Data" mapto="property:Data" /><br>
</mappings><br>
<validationrules/><br>
<relations/><br>
<searchsettings containerPageOnly="true"/><br>
</xsd:appinfo><br>
</xsd:annotation><br>
<br>
</xsd:schema><br>
<br>
NestedDefault is:-<br>
<br>
<xsd:schema xmlns:xsd="<a href="http://www.w3.org/2001/XMLSchema" rel="noreferrer" target="_blank">http://www.w3.org/<wbr>2001/XMLSchema</a>" elementFormDefault="qualified"<wbr>><br>
<br>
<xsd:include schemaLocation="opencms://<wbr>opencms-xmlcontent.xsd"/><br>
<br>
<xsd:element name="NestedDefaults" type="OpenCmsNestedDefaults"/><br>
<br>
<xsd:complexType name="OpenCmsNestedDefaults"><br>
<xsd:sequence><br>
<xsd:element name="NestedDefault" type="OpenCmsNestedDefault" minOccurs="0" maxOccurs="unbounded"/><br>
</xsd:sequence><br>
</xsd:complexType><br>
<br>
<xsd:complexType name="OpenCmsNestedDefault"><br>
<xsd:sequence><br>
<xsd:element name="Title" type="OpenCmsString" /><br>
<xsd:element name="Text" type="OpenCmsHtml" /><br>
</xsd:sequence><br>
<xsd:attribute name="language" type="OpenCmsLocale" use="required"/><br>
</xsd:complexType><br>
<br>
<xsd:annotation><br>
<xsd:appinfo><br>
<mappings><br>
<mapping element="Title" mapto="property:Title" /><br>
<mapping element="Title" mapto="urlName" /><br>
</mappings><br>
<defaults><br>
<default element="Title" value="Add a new title here" /><br>
<default element="Text" value="Add your text" /><br>
</defaults><br>
<layouts><br>
<layout element="Text" widget="HtmlWidget" configuration="<wbr>downloadgallery" /><br>
</layouts><br>
<validationrules/><br>
<relations/><br>
<searchsettings containerPageOnly="true"/><br>
</xsd:appinfo><br>
</xsd:annotation><br>
<br>
</xsd:schema><br>
<br>
Data is:-<br>
<br>
<xsd:schema xmlns:xsd="<a href="http://www.w3.org/2001/XMLSchema" rel="noreferrer" target="_blank">http://www.w3.org/<wbr>2001/XMLSchema</a>" elementFormDefault="qualified"<wbr>><br>
<br>
<xsd:include schemaLocation="opencms://<wbr>opencms-xmlcontent.xsd"/><br>
<br>
<xsd:element name="ElxDatas" type="OpenCmsElxDatas"/><br>
<br>
<xsd:complexType name="OpenCmsElxData"><br>
<xsd:sequence><br>
<xsd:element name="ElxDatas" type="OpenCmsElxData" minOccurs="0" maxOccurs="unbounded"/><br>
</xsd:sequence><br>
</xsd:complexType><br>
<br>
<xsd:complexType name="OpenCmsElxData"><br>
<xsd:sequence><br>
<xsd:element name="Value" type="OpenCmsString"/><br>
</xsd:sequence><br>
<xsd:attribute name="language" type="OpenCmsLocale" use="required"/><br>
</xsd:complexType><br>
<br>
<xsd:annotation><br>
<xsd:appinfo><br>
<mappings><br>
<mapping element="Value" mapto="property:Value" /><br>
</mappings><br>
<defaults><br>
<default element="Value" value="Series,Category,Value\<wbr>nSeries1,Cat1,10\nSeries1,<wbr>Cat2,20\nSeries2,Cat1,40\<wbr>nSeries2,Cat2,80" />--><br>
</defaults><br>
<layouts><br>
<layout element="Value" widget="TextareaWidget" configuration="20"/><br>
</layouts><br>
<validationrules/><br>
<relations/><br>
<searchsettings containerPageOnly="true"/><br>
</xsd:appinfo><br>
</xsd:annotation><br>
<br>
</xsd:schema><br>
<br>
<br>
What is the invalid XML in any of these?<br>
<br>
Regards,<br>
Clement<br>
<br>
On Sat, Apr 1, 2017 at 6:00 PM, <<a href="mailto:opencms-dev-request@opencms.org">opencms-dev-request@opencms.<wbr>org</a><mailto:<a href="mailto:opencms-dev-request@opencms.org">opencms-dev-<wbr>request@opencms.org</a>>> wrote:<br>
Send opencms-dev mailing list submissions to<br>
        <a href="mailto:opencms-dev@opencms.org">opencms-dev@opencms.org</a><<wbr>mailto:<a href="mailto:opencms-dev@opencms.org">opencms-dev@opencms.org</a><wbr>><br>
<br>
To subscribe or unsubscribe via the World Wide Web, visit<br>
        <a href="http://lists.opencms.org/cgi-bin/mailman/listinfo/opencms-dev" rel="noreferrer" target="_blank">http://lists.opencms.org/cgi-<wbr>bin/mailman/listinfo/opencms-<wbr>dev</a><br>
or, via email, send a message with subject or body 'help' to<br>
        <a href="mailto:opencms-dev-request@opencms.org">opencms-dev-request@opencms.<wbr>org</a><mailto:<a href="mailto:opencms-dev-request@opencms.org">opencms-dev-<wbr>request@opencms.org</a>><br>
<br>
You can reach the person managing the list at<br>
        <a href="mailto:opencms-dev-owner@opencms.org">opencms-dev-owner@opencms.org</a><<wbr>mailto:<a href="mailto:opencms-dev-owner@opencms.org">opencms-dev-owner@<wbr>opencms.org</a>><br>
<br>
When replying, please edit your Subject line so it is more specific<br>
than "Re: Contents of opencms-dev digest..."<br>
<br>
<br>
Today's Topics:<br>
<br>
   1.  TinyMCE filtering (Sandrine Prousteau)<br>
<br>
<br>
------------------------------<wbr>------------------------------<wbr>----------<br>
<br>
Message: 1<br>
Date: Fri, 31 Mar 2017 12:06:43 +0000<br>
From: Sandrine Prousteau <<a href="mailto:s.prousteau@eurelis.com">s.prousteau@eurelis.com</a><<wbr>mailto:<a href="mailto:s.prousteau@eurelis.com">s.prousteau@eurelis.com</a><wbr>>><br>
To: The OpenCms mailing list <<a href="mailto:opencms-dev@opencms.org">opencms-dev@opencms.org</a><<wbr>mailto:<a href="mailto:opencms-dev@opencms.org">opencms-dev@opencms.org</a><wbr>>><br>
Subject: [opencms-dev]  TinyMCE filtering<br>
Message-ID:<br>
        <<a href="mailto:HE1PR0601MB2602674612AA686714C8CA28F7370@HE1PR0601MB2602.eurprd06.prod.outlook.com">HE1PR0601MB2602674612AA686714<wbr>C8CA28F7370@HE1PR0601MB2602.<wbr>eurprd06.prod.outlook.com</a><<wbr>mailto:<a href="mailto:HE1PR0601MB2602674612AA686714C8CA28F7370@HE1PR0601MB2602.eurprd06.prod.outlook.com">HE1PR0601MB2602674612AA<wbr>686714C8CA28F7370@<wbr>HE1PR0601MB2602.eurprd06.prod.<wbr>outlook.com</a>>><br>
<br>
Content-Type: text/plain; charset="us-ascii"<br>
<br>
Hi all,<br>
<br>
<br>
<br>
We have a little issue on our xmlcontent editions : on HtmlWidget fields, running with TinyMCE editor, when our user is pasting from a *.docx a piece of text containing unordered list of percent values with some bold contents, some contents are cut. It's done with simple "paste", not "paste as text".<br>
<br>
Example :<br>
<br>
This value (numerics are in bold)<br>
<br>
+12.5%<br>
<br>
Is turned to<br>
<br>
+5%<br>
<br>
<br>
<br>
I have tried it on inline TinyMCE codepen <a href="http://codepen.io/tinymce/pen/YydQrY" rel="noreferrer" target="_blank">http://codepen.io/tinymce/pen/<wbr>YydQrY</a>, and I found that with the options "paste_enable_default_filters: false" set in the .init(), the numerics are not cut (but all .docx styles are kept obviously).<br>
<br>
<br>
<br>
Is there someone who had this issue, and found a solution?<br>
<br>
Is there someone who knows how TinyMCE filters work?<br>
<br>
<br>
<br>
OpenCms 9.5.2.x / Windows 10 / Chrome<br>
<br>
<br>
<br>
Thanks for help.<br>
<br>
<br>
<br>
Sandrine<br>
<br>
<br>
-------------- next part --------------<br>
An HTML attachment was scrubbed...<br>
URL: <<a href="http://lists.opencms.org/pipermail/opencms-dev/attachments/20170331/f34d4478/attachment-0001.html" rel="noreferrer" target="_blank">http://lists.opencms.org/<wbr>pipermail/opencms-dev/<wbr>attachments/20170331/f34d4478/<wbr>attachment-0001.html</a>><br>
<br>
------------------------------<br>
<br>
______________________________<wbr>_________________<br>
This mail is sent to you from the opencms-dev mailing list<br>
To change your list options, or to unsubscribe from the list, please visit<br>
<a href="http://lists.opencms.org/cgi-bin/mailman/listinfo/opencms-dev" rel="noreferrer" target="_blank">http://lists.opencms.org/cgi-<wbr>bin/mailman/listinfo/opencms-<wbr>dev</a><br>
<br>
End of opencms-dev Digest, Vol 282, Issue 6<br>
******************************<wbr>*************<br>
<br>
<br>
Lorenz Lammersdorf<br>
Web Developer<br>
<a href="tel:%2B41%2058%20255%2013%2006" value="+41582551306">+41 58 255 13 06</a><br>
<br>
Aktuell: Marketing f?r Dienstleister<<a href="http://www.marketing-fuer-dienstleister.ch/" rel="noreferrer" target="_blank">http://www.<wbr>marketing-fuer-dienstleister.<wbr>ch/</a>> und Marketing in der Baubranche<<a href="http://www.marketing-im-bau.ch/" rel="noreferrer" target="_blank">http://www.<wbr>marketing-im-bau.ch/</a>><br>
<br>
Kernbrand AG<br>
Teufener Strasse 11<br>
9000 St. Gallen<br>
<a href="http://www.kernbrand.ch" rel="noreferrer" target="_blank">www.kernbrand.ch</a><<a href="https://kernbrand.ch" rel="noreferrer" target="_blank">https://<wbr>kernbrand.ch</a>><br>
<br>
Folgen Sie uns: Facebook<<a href="https://www.facebook.com/kernbrandag/" rel="noreferrer" target="_blank">https://www.facebook.<wbr>com/kernbrandag/</a>> | Pinterest<<a href="https://www.pinterest.com/kernbrand/" rel="noreferrer" target="_blank">https://www.<wbr>pinterest.com/kernbrand/</a>> | LinkedIn<<a href="https://www.linkedin.com/company/kernbrand" rel="noreferrer" target="_blank">https://www.linkedin.<wbr>com/company/kernbrand</a>> | Twitter<<a href="https://twitter.com/kernbrand1" rel="noreferrer" target="_blank">https://twitter.com/<wbr>kernbrand1</a>> | Youtube<<a href="https://www.youtube.com/channel/UCNPqHyrqpCmfmFAZGVtp_uw" rel="noreferrer" target="_blank">https://www.youtube.<wbr>com/channel/<wbr>UCNPqHyrqpCmfmFAZGVtp_uw</a>><br>
-------------- next part --------------<br>
An HTML attachment was scrubbed...<br>
URL: <<a href="http://lists.opencms.org/pipermail/opencms-dev/attachments/20170403/234a9222/attachment-0001.html" rel="noreferrer" target="_blank">http://lists.opencms.org/<wbr>pipermail/opencms-dev/<wbr>attachments/20170403/234a9222/<wbr>attachment-0001.html</a>><br>
<br>
------------------------------<br>
<br>
______________________________<wbr>_________________<br>
This mail is sent to you from the opencms-dev mailing list<br>
To change your list options, or to unsubscribe from the list, please visit<br>
<a href="http://lists.opencms.org/cgi-bin/mailman/listinfo/opencms-dev" rel="noreferrer" target="_blank">http://lists.opencms.org/cgi-<wbr>bin/mailman/listinfo/opencms-<wbr>dev</a><br>
<br>
End of opencms-dev Digest, Vol 283, Issue 1<br>
******************************<wbr>*************<br>
</blockquote></div><br></div></div></div>