[jboss-jira] [JBoss JIRA] (WFCORE-588) StringListAttributeDefinition should map to <xs:list itemType="xs:string"/>
Jason Greene (JIRA)
issues at jboss.org
Mon Mar 9 15:30:19 EDT 2015
[ https://issues.jboss.org/browse/WFCORE-588?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13048333#comment-13048333 ]
Jason Greene commented on WFCORE-588:
-------------------------------------
good catch
> StringListAttributeDefinition should map to <xs:list itemType="xs:string"/>
> ---------------------------------------------------------------------------
>
> Key: WFCORE-588
> URL: https://issues.jboss.org/browse/WFCORE-588
> Project: WildFly Core
> Issue Type: Enhancement
> Components: Server
> Affects Versions: 1.0.0.Alpha19
> Reporter: Brent Douglas
> Assignee: Jason Greene
>
> The parser for StringListAttributeDefinition should directly map to <xs:list itemType="xs:string"/>. The current parser (as of ad989b273330d5e02f0687fe8e3065d0a0eef8f2) splits on " " which doesn't cover the range of delimiters allowed in an xml list attribute. Using the regex "[ \\t\\n\\r]+" (see http://www.w3.org/TR/2000/WD-xml-2e-20000814#NT-S) would allow the full range of values.
--
This message was sent by Atlassian JIRA
(v6.3.11#6341)
More information about the jboss-jira
mailing list