File tree Expand file tree Collapse file tree 4 files changed +5
-5
lines changed Expand file tree Collapse file tree 4 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -43,7 +43,7 @@ <h4 style="padding-top: 20px;">Step 2. Discover and Compose </h4>
43
43
< a style ="text-decoration: none; " ng-href ="{{metamodelFile}} " target ="_blank ">
44
44
< button style ="margin-top: 10px; " class ="btn btn-block " type ="button " ng-disabled ="metamodelFile == '' "
45
45
data-intro ="We work with Eclipse Modeling Framework (EMF) so if you want you can download the schema as an Ecore file " data-position ="bottom ">
46
- Download schema < small > (Save as Ecore)</ small >
46
+ Download Schema < small > (Save as Ecore)</ small >
47
47
</ button >
48
48
</ a >
49
49
</ div >
Original file line number Diff line number Diff line change @@ -64,14 +64,14 @@ <h3>Your JSON document</h3>
64
64
< a style ="text-decoration: none; " ng-href ="{{metamodelFile}} " target ="_blank ">
65
65
< button style ="margin-top: 20px; " class ="btn btn-block " type ="button " ng-disabled ="metamodelFile == '' "
66
66
data-intro ="We work with Eclipse Modeling Framework (EMF) so if you want you can download the schema as an Ecore file " data-position ="left ">
67
- Download schema < br >
67
+ Download Schema < br >
68
68
< small > (Save as Ecore)</ small >
69
69
</ button >
70
70
</ a >
71
71
< a style ="text-decoration: none; " ng-href ="{{modelFile}} " target ="_blank ">
72
72
< button style ="margin-top: 10px; " class ="btn btn-block " type ="button " ng-disabled ="modelFile == '' "
73
73
data-intro ="You can also download the data model as an XMI file (conforming to the previous Ecore model) " data-position ="bottom ">
74
- Download data < br >
74
+ Download Data < br >
75
75
< small > (Save as XMI)</ small >
76
76
</ button >
77
77
</ a >
Original file line number Diff line number Diff line change @@ -58,7 +58,7 @@ public class JsonAdvancedDiscovererServlet extends AbstractJsonDiscoverer {
58
58
/** This pattern is used to analyze the params
59
59
* The format is sources[JSON_SOURCE_NAME][SOMETHING]([])?
60
60
* The important part is the JSON_SOURCE_NAME which provides the name of the parameter */
61
- private static String paramsPattern = Pattern .quote ("sources[" ) + "([a-zA-Z ]*)" + Pattern .quote ("][" ) + "[\\ $a-zA-Z]*" + Pattern .quote ("]" ) + "(" + Pattern .quote ("[]" ) + ")?" ;
61
+ private static String paramsPattern = Pattern .quote ("sources[" ) + "([a-zA-Z0-9 ]*)" + Pattern .quote ("][" ) + "[\\ $a-zA-Z]*" + Pattern .quote ("]" ) + "(" + Pattern .quote ("[]" ) + ")?" ;
62
62
63
63
@ Override
64
64
public void init () throws ServletException {
Original file line number Diff line number Diff line change @@ -49,7 +49,7 @@ public class JsonComposerServlet extends AbstractJsonDiscoverer {
49
49
/** This pattern is used to analyze the params
50
50
* The format is sources[JSON_SOURCE_NAME][SOMETHING]([])?([input|output])?
51
51
* The important part is the JSON_SOURCE_NAME which provides the name of the parameter */
52
- private static String paramsPattern = Pattern .quote ("sources[" ) + "([a-zA-Z ]*)" + Pattern .quote ("]" ) +
52
+ private static String paramsPattern = Pattern .quote ("sources[" ) + "([a-zA-Z0-9 ]*)" + Pattern .quote ("]" ) +
53
53
Pattern .quote ("[" ) + "[\\ $a-zA-Z]*" + Pattern .quote ("]" ) +
54
54
"(" + Pattern .quote ("[" ) + "[0-9]*" + Pattern .quote ("]" ) + ")?" +
55
55
"(" + Pattern .quote ("[" ) + "[a-zA-Z]*" + Pattern .quote ("]" ) + ")?" ;
You can’t perform that action at this time.
0 commit comments