magento / magento/data-migration-tool
xml file is invalid - ce 1.9.3.3 to ce 2.1.7
Nobody has claimed this yet.
- Dominant language
- PHP
- Stars
- 339
- Forks
- 195
- PR merge metrics
- No merged PRs in 30d
Description
Whenever add version in **/vendor/module/data-migration-tool/etc/ce-to-ce/1.9.3.3/config.xml** `` and ``, it throws error like xml file is invalid
Easy for your reference : http://nimb.ws/Ripd1J
We have validated **config.xml** with **config.xsd** by online xml validation tool, it also report the same error.
I have attached the error report below
3 errors have been found!
Errors in the XML document:
**Error 1**
100:
31
cvc-complex-type.3.2.2: Attribute 'version' is not allowed to appear in element 'source'.
**Error 2**
103:
34
cvc-complex-type.3.2.2: Attribute 'version' is not allowed to appear in element 'destination'.
**Error 3**
111:
42
InvalidRegex: Pattern value '[-/A-Za-z0-9\._]+\.(xml|dist)' is not a valid regular expression. The reported error was: ''-' is an invalid character range. Write '\-'.'.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with vendor/module/data-migration-tool/etc/ce-to-ce/1.9.3.3/config.xml and compare its source and destination elements with config.xsd. Reproduce the reported validation errors, then confirm the XML schema accepts the version attributes and the file-pattern regular expression without introducing new validation errors.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- php
- Domain
- tooling
- Issue type
- Bug
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100