<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[How to preserve whitespace in xsd validation]]></title><description><![CDATA[<p dir="auto">Hi, I have problem  in xsd validation;<br />
I want validate xml file;<br />
There is a tag with blank and this is the rule:<br />
&lt;xs:simpleType name=“Max35Text”&gt;<br />
&lt;xs:restriction base=“xs:string”&gt;<br />
&lt;xs:minLength value=“1”/&gt;<br />
&lt;xs:maxLength value=“35”/&gt;<br />
&lt;/xs:restriction&gt;<br />
&lt;/xs:simpleType&gt;</p>
<p dir="auto">On validation , I HAVE this error :</p>
<p dir="auto"><img src="/assets/uploads/files/1701769892084-730c39a6-d5ac-42c6-8572-8f5b0ed5b5a5-image.png" alt="730c39a6-d5ac-42c6-8572-8f5b0ed5b5a5-image.png" class=" img-fluid img-markdown" /></p>
<p dir="auto">I would like to be able to set a rule that removes spaces in tags that only contain spaces</p>
<p dir="auto">Thank YOU</p>
]]></description><link>https://community.notepad-plus-plus.org/topic/25205/how-to-preserve-whitespace-in-xsd-validation</link><generator>RSS for Node</generator><lastBuildDate>Tue, 21 Jul 2026 22:12:21 GMT</lastBuildDate><atom:link href="https://community.notepad-plus-plus.org/topic/25205.rss" rel="self" type="application/rss+xml"/><pubDate>Tue, 05 Dec 2023 09:49:35 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to How to preserve whitespace in xsd validation on Tue, 05 Dec 2023 14:08:47 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/enrico-fiorini" aria-label="Profile: Enrico-Fiorini">@<bdi>Enrico-Fiorini</bdi></a><br />
This feels to me more like a question about <a href="https://www.w3schools.com/xml/schema_intro.asp" rel="nofollow ugc">XSD</a> (which I know nothing about, just linked the best-seeming link I could find) than about Notepad++.</p>
<p dir="auto">On the other hand, if you found an example of where XMLTools (or whatever plugin you’re using, IDK) was giving an error where it shouldn’t be, <em>that</em> is more of a Notepad++ - related question.</p>
]]></description><link>https://community.notepad-plus-plus.org/post/90960</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/90960</guid><dc:creator><![CDATA[Mark Olson]]></dc:creator><pubDate>Tue, 05 Dec 2023 14:08:47 GMT</pubDate></item></channel></rss>