JIRA

  • Log In Access more options
    • Online Help
    • GreenHopper Help
    • Agile Answers
    • Use Agile By Default
    • Keyboard Shortcuts
    • About JIRA
    • JIRA Credits
    • What’s New
  • Dashboards Access more options (Alt+d)
  • Projects Access more options (Alt+p)
  • Issues Access more options (Alt+i)
  • Agile Access more options (Alt+g)
  • Create Issue
  • Mule
  • MULE-6217

mule.xsd fails schema validation by strict validator

  • Agile Board
  • More Actions
  • Views
    • XML
    • Word
    • Printable

Details

  • Type: Bug Bug
  • Status: Open Open
  • Priority: Major Major
  • Resolution: Unresolved
  • Affects Version/s: 3.2.1
  • Fix Version/s: None
  • Component/s: Core: Configuration
  • Labels:
    • validation
  • User impact:
    Low
  • Similar Issues:
    None

Description

http://www.mulesoft.org/schema/mule/core/3.2/mule.xsd
>> Engine name: Saxon-EE 9.3.0.5
>> Severity: fatal
>> Description: Error at character 2 in regular expression
>> "(#[[^\]]+]|\${[^\}]+})": invalid escape sequence Start
>> location: 6884:63

It seems that this validation error is reported because "#" and "$"
characters shouldn't be escaped in the regexp expression as per the specification of the XML Schema:
http://www.w3.org/TR/xmlschema-2/#cces
All the valid escaped characters can be found there (you can see that neither "#" nor "$" is in the list).

It seems that the Xerces parser is a lot more flexible in this regard and allows it, while Saxon doesn't.

the expression should be:
<xsd:pattern value="(#[[^\]]+]|${[^\}]+})"/>

(With thanks to oXygen XML Editor Support [support@oxygenxml.com] )

Activity

  • All
  • Comments
  • Work Log
  • History
  • Activity
  • Transitions
  • Commits
  • Source
  • Builds
There are no comments yet on this issue.

People

  • Assignee:
    Unassigned
    Reporter:
    Rogier Cobben
Vote (0)
Watch (1)

Dates

  • Created:
    07/May/12 10:35 AM
    Updated:
    12/Jun/12 01:32 PM

Agile

  • View on Board
  • Atlassian JIRA (v5.0.7#734-sha1:8ad78a6)
  • Report a problem
  • Powered by a free Atlassian JIRA open source license for MuleForge. Try JIRA - bug tracking software for your team.