pvillard31 commented on a change in pull request #4453:
URL: https://github.com/apache/nifi/pull/4453#discussion_r483963201



##########
File path: 
nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-framework-core/src/main/resources/FlowConfiguration.xsd
##########
@@ -434,7 +434,7 @@
 
     <xs:simpleType name="DataSize">
         <xs:restriction base="xs:string">
-            <xs:pattern value="\d+\s*(B|KB|MB|GB|TB|b|kb|mb|gb|tb)" />
+            <xs:pattern value="\d+(\.\d+)?\s*(B|KB|MB|GB|TB|b|kb|mb|gb|tb)" />

Review comment:
       I didn't find a way to have the lookahead accepted. Not sure this is 
supported in XSD. It was showing me some warnings when I tried in my IDE.




----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


Reply via email to