<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
</head>
<body>
<style type="text/css" style="display:none;"><!-- P {margin-top:0;margin-bottom:0;} --></style>
<div id="divtagdefaultwrapper" style="font-size:12pt;color:#000000;font-family:Calibri,Arial,Helvetica,sans-serif;" dir="ltr">
<p><span><default element="Value" value="Series,Category,Value\nSeries1,Cat1,10\nSeries1,Cat2,20\nSeries2,Cat1,40\nSeries2,Cat2,80" />--></span><br>
</p>
<p><span><br>
</span></p>
<p><span>remove --></span></p>
<p><span><br>
</span></p>
<p><span>regards</span></p>
<p><span>lorenz</span></p>
</div>
<hr style="display:inline-block;width:98%" tabindex="-1">
<div id="divRplyFwdMsg" dir="ltr"><font face="Calibri, sans-serif" style="font-size:11pt" color="#000000"><b>Von:</b> opencms-dev-bounces@opencms.org <opencms-dev-bounces@opencms.org> im Auftrag von Clement Wee <clement@elixirtech.com><br>
<b>Gesendet:</b> Montag, 3. April 2017 11:11:25<br>
<b>An:</b> opencms-dev@opencms.org<br>
<b>Betreff:</b> [opencms-dev] Cannot Include Nested XSDs in OpenCMS 10.5.1</font>
<div> </div>
</div>
<div>
<div dir="ltr">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.
<div><br>
</div>
<div>The container is as follows:-<br>
<br>
<div><xsd:schema xmlns:xsd="<a href="http://www.w3.org/2001/XMLSchema">http://www.w3.org/2001/XMLSchema</a>" elementFormDefault="qualified"></div>
<div><br>
</div>
<div><span class="gmail-Apple-tab-span" style="white-space:pre"></span><xsd:include schemaLocation="opencms://opencms-xmlcontent.xsd"/></div>
<div><span class="gmail-Apple-tab-span" style="white-space:pre"></span><xsd:include schemaLocation="opencms://system/modules/elixir.opencms/schemas/NestedDefault.xsd"/></div>
<div><span class="gmail-Apple-tab-span" style="white-space:pre"></span><xsd:include schemaLocation="opencms://system/modules/elixir.opencms/schemas/Data.xsd"/></div>
<div><br>
</div>
<div><span class="gmail-Apple-tab-span" style="white-space:pre"></span><xsd:element name="NestedContainers" type="OpenCmsNestedContainers"/></div>
<div><br>
</div>
<div><span class="gmail-Apple-tab-span" style="white-space:pre"></span><xsd:complexType name="OpenCmsNestedContainers"></div>
<div><span class="gmail-Apple-tab-span" style="white-space:pre"></span><xsd:sequence></div>
<div><span class="gmail-Apple-tab-span" style="white-space:pre"></span><xsd:element name="NestedContainer" type="OpenCmsNestedContainer" minOccurs="0" maxOccurs="unbounded"/></div>
<div><span class="gmail-Apple-tab-span" style="white-space:pre"></span></xsd:sequence></div>
<div><span class="gmail-Apple-tab-span" style="white-space:pre"></span></xsd:complexType></div>
<div><br>
</div>
<div><span class="gmail-Apple-tab-span" style="white-space:pre"></span><xsd:complexType name="OpenCmsNestedContainer"></div>
<div><span class="gmail-Apple-tab-span" style="white-space:pre"></span><xsd:sequence></div>
<div><span class="gmail-Apple-tab-span" style="white-space:pre"></span><xsd:element name="Properties" type="OpenCmsNestedDefault" /></div>
<div><span class="gmail-Apple-tab-span" style="white-space:pre"></span><xsd:element name="Data" type="OpenCmsElxData" /></div>
<div><span class="gmail-Apple-tab-span" style="white-space:pre"></span></xsd:sequence></div>
<div><span class="gmail-Apple-tab-span" style="white-space:pre"></span><xsd:attribute name="language" type="OpenCmsLocale" use="required"/></div>
<div><span class="gmail-Apple-tab-span" style="white-space:pre"></span></xsd:complexType></div>
<div><br>
</div>
<div><span class="gmail-Apple-tab-span" style="white-space:pre"></span><xsd:annotation></div>
<div><span class="gmail-Apple-tab-span" style="white-space:pre"></span><xsd:appinfo></div>
<div><span class="gmail-Apple-tab-span" style="white-space:pre"></span><mappings></div>
<div><span class="gmail-Apple-tab-span" style="white-space:pre"></span><mapping element="Properties" mapto="property:Properties" /></div>
<div><span class="gmail-Apple-tab-span" style="white-space:pre"></span><mapping element="Data" mapto="property:Data" /></div>
<div><span class="gmail-Apple-tab-span" style="white-space:pre"></span></mappings></div>
<div><span class="gmail-Apple-tab-span" style="white-space:pre"></span><validationrules/></div>
<div><span class="gmail-Apple-tab-span" style="white-space:pre"></span><relations/></div>
<div><span class="gmail-Apple-tab-span" style="white-space:pre"></span><searchsettings containerPageOnly="true"/></div>
<div><span class="gmail-Apple-tab-span" style="white-space:pre"></span></xsd:appinfo></div>
<div><span class="gmail-Apple-tab-span" style="white-space:pre"></span></xsd:annotation></div>
<div><br>
</div>
<div></xsd:schema><br>
<br>
NestedDefault is:-</div>
<div><br>
</div>
<div>
<div><xsd:schema xmlns:xsd="<a href="http://www.w3.org/2001/XMLSchema">http://www.w3.org/2001/XMLSchema</a>" elementFormDefault="qualified"></div>
<div><br>
</div>
<div><span class="gmail-Apple-tab-span" style="white-space:pre"></span><xsd:include schemaLocation="opencms://opencms-xmlcontent.xsd"/></div>
<div><br>
</div>
<div><span class="gmail-Apple-tab-span" style="white-space:pre"></span><xsd:element name="NestedDefaults" type="OpenCmsNestedDefaults"/></div>
<div><br>
</div>
<div><span class="gmail-Apple-tab-span" style="white-space:pre"></span><xsd:complexType name="OpenCmsNestedDefaults"></div>
<div><span class="gmail-Apple-tab-span" style="white-space:pre"></span><xsd:sequence></div>
<div><span class="gmail-Apple-tab-span" style="white-space:pre"></span><xsd:element name="NestedDefault" type="OpenCmsNestedDefault" minOccurs="0" maxOccurs="unbounded"/></div>
<div><span class="gmail-Apple-tab-span" style="white-space:pre"></span></xsd:sequence></div>
<div><span class="gmail-Apple-tab-span" style="white-space:pre"></span></xsd:complexType></div>
<div><br>
</div>
<div><span class="gmail-Apple-tab-span" style="white-space:pre"></span><xsd:complexType name="OpenCmsNestedDefault"></div>
<div><span class="gmail-Apple-tab-span" style="white-space:pre"></span><xsd:sequence></div>
<div><span class="gmail-Apple-tab-span" style="white-space:pre"></span><xsd:element name="Title" type="OpenCmsString" /></div>
<div><span class="gmail-Apple-tab-span" style="white-space:pre"></span><xsd:element name="Text" type="OpenCmsHtml" /></div>
<div><span class="gmail-Apple-tab-span" style="white-space:pre"></span></xsd:sequence></div>
<div><span class="gmail-Apple-tab-span" style="white-space:pre"></span><xsd:attribute name="language" type="OpenCmsLocale" use="required"/></div>
<div><span class="gmail-Apple-tab-span" style="white-space:pre"></span></xsd:complexType></div>
<div><br>
</div>
<div><span class="gmail-Apple-tab-span" style="white-space:pre"></span><xsd:annotation></div>
<div><span class="gmail-Apple-tab-span" style="white-space:pre"></span><xsd:appinfo></div>
<div><span class="gmail-Apple-tab-span" style="white-space:pre"></span><mappings></div>
<div><span class="gmail-Apple-tab-span" style="white-space:pre"></span><mapping element="Title" mapto="property:Title" /></div>
<div><span class="gmail-Apple-tab-span" style="white-space:pre"></span><mapping element="Title" mapto="urlName" /></div>
<div><span class="gmail-Apple-tab-span" style="white-space:pre"></span></mappings></div>
<div><span class="gmail-Apple-tab-span" style="white-space:pre"></span><defaults></div>
<div><span class="gmail-Apple-tab-span" style="white-space:pre"></span><default element="Title" value="Add a new title here" /></div>
<div><span class="gmail-Apple-tab-span" style="white-space:pre"></span><default element="Text" value="Add your text" /></div>
<div><span class="gmail-Apple-tab-span" style="white-space:pre"></span></defaults></div>
<div><span class="gmail-Apple-tab-span" style="white-space:pre"></span><layouts></div>
<div><span class="gmail-Apple-tab-span" style="white-space:pre"></span><layout element="Text" widget="HtmlWidget" configuration="downloadgallery" /></div>
<div><span class="gmail-Apple-tab-span" style="white-space:pre"></span></layouts></div>
<div><span class="gmail-Apple-tab-span" style="white-space:pre"></span><validationrules/></div>
<div><span class="gmail-Apple-tab-span" style="white-space:pre"></span><relations/></div>
<div><span class="gmail-Apple-tab-span" style="white-space:pre"></span><searchsettings containerPageOnly="true"/></div>
<div><span class="gmail-Apple-tab-span" style="white-space:pre"></span></xsd:appinfo></div>
<div><span class="gmail-Apple-tab-span" style="white-space:pre"></span></xsd:annotation></div>
<div><br>
</div>
<div></xsd:schema></div>
</div>
<div><br>
</div>
<div>Data is:-<br>
<br>
<div><xsd:schema xmlns:xsd="<a href="http://www.w3.org/2001/XMLSchema">http://www.w3.org/2001/XMLSchema</a>" elementFormDefault="qualified"></div>
<div><br>
</div>
<div><span class="gmail-Apple-tab-span" style="white-space:pre"></span><xsd:include schemaLocation="opencms://opencms-xmlcontent.xsd"/></div>
<div><br>
</div>
<div><span class="gmail-Apple-tab-span" style="white-space:pre"></span><xsd:element name="ElxDatas" type="OpenCmsElxDatas"/></div>
<div><br>
</div>
<div><span class="gmail-Apple-tab-span" style="white-space:pre"></span><xsd:complexType name="OpenCmsElxData"></div>
<div><span class="gmail-Apple-tab-span" style="white-space:pre"></span><xsd:sequence></div>
<div><span class="gmail-Apple-tab-span" style="white-space:pre"></span><xsd:element name="ElxDatas" type="OpenCmsElxData" minOccurs="0" maxOccurs="unbounded"/></div>
<div><span class="gmail-Apple-tab-span" style="white-space:pre"></span></xsd:sequence></div>
<div><span class="gmail-Apple-tab-span" style="white-space:pre"></span></xsd:complexType></div>
<div><br>
</div>
<div><span class="gmail-Apple-tab-span" style="white-space:pre"></span><xsd:complexType name="OpenCmsElxData"></div>
<div><span class="gmail-Apple-tab-span" style="white-space:pre"></span><xsd:sequence></div>
<div><span class="gmail-Apple-tab-span" style="white-space:pre"></span><xsd:element name="Value" type="OpenCmsString"/></div>
<div><span class="gmail-Apple-tab-span" style="white-space:pre"></span></xsd:sequence></div>
<div><span class="gmail-Apple-tab-span" style="white-space:pre"></span><xsd:attribute name="language" type="OpenCmsLocale" use="required"/></div>
<div><span class="gmail-Apple-tab-span" style="white-space:pre"></span></xsd:complexType></div>
<div><br>
</div>
<div><span class="gmail-Apple-tab-span" style="white-space:pre"></span><xsd:annotation></div>
<div><span class="gmail-Apple-tab-span" style="white-space:pre"></span><xsd:appinfo></div>
<div><span class="gmail-Apple-tab-span" style="white-space:pre"></span><mappings></div>
<div><span class="gmail-Apple-tab-span" style="white-space:pre"></span><mapping element="Value" mapto="property:Value" /></div>
<div><span class="gmail-Apple-tab-span" style="white-space:pre"></span></mappings></div>
<div><span class="gmail-Apple-tab-span" style="white-space:pre"></span><defaults></div>
<div><span class="gmail-Apple-tab-span" style="white-space:pre"></span><default element="Value" value="Series,Category,Value\nSeries1,Cat1,10\nSeries1,Cat2,20\nSeries2,Cat1,40\nSeries2,Cat2,80" />--></div>
<div><span class="gmail-Apple-tab-span" style="white-space:pre"></span></defaults></div>
<div><span class="gmail-Apple-tab-span" style="white-space:pre"></span><layouts></div>
<div><span class="gmail-Apple-tab-span" style="white-space:pre"></span><layout element="Value" widget="TextareaWidget" configuration="20"/></div>
<div><span class="gmail-Apple-tab-span" style="white-space:pre"></span></layouts></div>
<div><span class="gmail-Apple-tab-span" style="white-space:pre"></span><validationrules/></div>
<div><span class="gmail-Apple-tab-span" style="white-space:pre"></span><relations/></div>
<div><span class="gmail-Apple-tab-span" style="white-space:pre"></span><searchsettings containerPageOnly="true"/></div>
<div><span class="gmail-Apple-tab-span" style="white-space:pre"></span></xsd:appinfo></div>
<div><span class="gmail-Apple-tab-span" style="white-space:pre"></span></xsd:annotation></div>
<div><br>
</div>
<div></xsd:schema><br>
<br>
<br>
What is the invalid XML in any of these?<br>
<br>
Regards,</div>
</div>
<div>Clement</div>
<div class="gmail_extra"><br>
<div class="gmail_quote">On Sat, Apr 1, 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. 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>
<<a href="mailto:HE1PR0601MB2602674612AA686714C8CA28F7370@HE1PR0601MB2602.eurprd06.prod.outlook.com">HE1PR0601MB2602674612AA686714<wbr>C8CA28F7370@HE1PR0601MB2602.<wbr>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, 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>
</blockquote>
</div>
<br>
</div>
</div>
</div>
</div>
<br>
<div style="font-size: 13px; font-family: sans-serif;">Lorenz Lammersdorf</div>
<div style="font-size: 11px; font-family: sans-serif;">Web Developer<br>
+41 58 255 13 06</div>
<br>
<div style="font-size: 11px; font-family: sans-serif;">Aktuell: <a href="http://www.marketing-fuer-dienstleister.ch/">
Marketing für Dienstleister</a> und <a href="http://www.marketing-im-bau.ch/">Marketing in der Baubranche</a>
<br>
<br>
Kernbrand AG<br>
Teufener Strasse 11<br>
9000 St. Gallen<br>
<a href="https://kernbrand.ch">www.kernbrand.ch</a> <br>
<br>
Folgen Sie uns: <a href="https://www.facebook.com/kernbrandag/">Facebook</a> | <a href="https://www.pinterest.com/kernbrand/">Pinterest</a> | <a href="https://www.linkedin.com/company/kernbrand">LinkedIn</a> | <a href="https://twitter.com/kernbrand1">Twitter</a> | <a href="https://www.youtube.com/channel/UCNPqHyrqpCmfmFAZGVtp_uw">Youtube</a>
</div>
</body>
</html>