davidmoten / davidmoten/xsd-forms
"/" inside the pattern disables the "Submit" button
- Dominant language
- HTML
- Stars
- 147
- Forks
- 49
- PR merge metrics
- No merged PRs in 30d
Description
The generator available at
https://xsd-forms.herokuapp.com/
creates a form whose "Submit" button does not work when the "pattern" of a string-derived element contains "/".
### Minimal working examples:
a) The defect appears:
```
```
b) The defect does **not** appear (i.e. it works correctly, as it should):
```
```
Both examples comply with the XSD structural rules according to tools such as Oxygen XML Editor.
Tested with Mozilla Firefox 41.0.2 on Microsoft Windows 7.
Contributor guide
No contributing guide indexed for this repository
Research direction
Open the generator at https://xsd-forms.herokuapp.com/ and reproduce the issue with the first XSD example, then compare it with the working escaped-slash example. Trace how the string-derived pattern reaches the form and verify that the Submit button remains enabled and works for patterns containing '/'.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- html
- Domain
- frontend
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Clearly specified
- Newbie friendliness
- 35/100