magento / magento/data-migration-tool

xml file is invalid - ce 1.9.3.3 to ce 2.1.7

Open
#320 4 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

acknowledged bug
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

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.