You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@nifi.apache.org by GitBox <gi...@apache.org> on 2020/09/05 15:55:39 UTC

[GitHub] [nifi] pvillard31 commented on a change in pull request #4453: NIFI-7710 - Flow XML validation warnings for DataSize

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:
users@infra.apache.org