Jazz Forum Welcome to the Jazz Community Forum Connect and collaborate with IBM Engineering experts and users

Migration Error

Hello...

We are testing migration from 2.x to 3.0.1 GA and receiving the following error.

Migration of content was unsuccessful: Error 0: cvc-complex-type.2.4.a: Invalid content was found starting with element 'h2'. One of '{"http://www.w3.org/1999/xhtml":a, "http://www.w3.org/1999/xhtml":br, "http://www.w3.org/1999/xhtml":span, "http://www.w3.org/1999/xhtml":bdo, "http://www.w3.org/1999/xhtml":map, "http://www.w3.org/1999/xhtml":object, "http://www.w3.org/1999/xhtml":img, "http://www.w3.org/1999/xhtml":u, "http://www.w3.org/1999/xhtml":tt, "http://www.w3.org/1999/xhtml":i, "http://www.w3.org/1999/xhtml":b, "http://www.w3.org/1999/xhtml":big, "http://www.w3.org/1999/xhtml":small, "http://www.w3.org/1999/xhtml":em, "http://www.w3.org/1999/xhtml":strong, "http://www.w3.org/1999/xhtml":dfn, "http://www.w3.org/1999/xhtml":code, "http://www.w3.org/1999/xhtml":q, "http://www.w3.org/1999/xhtml":samp, "http://www.w3.org/1999/xhtml":kbd, "http://www.w3.org/1999/xhtml":var, "http://www.w3.org/1999/xhtml":cite, "http://www.w3.org/1999/xhtml":abbr, "http://www.w3.org/1999/xhtml":acronym, "http://www.w3.org/1999/xhtml":sub, "http://www.w3.org/1999/xhtml":sup, "http://www.w3.org/1999/xhtml":input, "http://www.w3.org/1999/xhtml":select, "http://www.w3.org/1999/xhtml":textarea, "http://www.w3.org/1999/xhtml":label, "http://www.w3.org/1999/xhtml":button, "http://www.w3.org/1999/xhtml":ins, "http://www.w3.org/1999/xhtml":del}' is expected.

The migration does complete, but contains 4492 "non-critical" Errors. The above error message is displayed as text in the body of our requirements.

Not sure if this helps, but it appears that each of the requirements has an initial or historical pointer to an entry that doesn't exist in the database. These show as the "NONE" entries below.

From resources-metrics.csv

Resources,NONE,rrc1921,_1VJ6cjO-EeCyEuskJm5SsA,0,0
Resources,UPDATE,rrc1921,_TtpUITPFEeCyEuskJm5SsA,15,63
Resources,UPDATE,rrc1921,_iHPPgq2NEeCFJvRyIhIorw,0,47
Resources,UPDATE,rrc1921,_Lgg0orfdEeCNYPoi1rcL_g,16,109


Bookmarks,NONE,rrc1921,_1VwXZTO-EeCyEuskJm5SsA,0,0
Bookmarks,NONE,rrc1921,_Tur18jPFEeCyEuskJm5SsA,0,0
Bookmarks,NONE,rrc1921,_Tvu-0jPFEeCyEuskJm5SsA,0,0
Bookmarks,NONE,rrc1921,_TwxgojPFEeCyEuskJm5SsA,0,0
Bookmarks,NONE,rrc1921,_Tx0pgjPFEeCyEuskJm5SsA,0,0
Bookmarks,UPDATE,rrc1921,_HMiGkqDqEeCV1tjDNoLvYg,0,31


Views,NONE,rrc1921,_1VJ6cjO-EeCyEuskJm5SsA,0,0
Views,NONE,rrc1921,_TtpUITPFEeCyEuskJm5SsA,0,0
Views,NONE,rrc1921,_iHPPgq2NEeCFJvRyIhIorw,0,0
Views,NONE,rrc1921,_Lgg0orfdEeCNYPoi1rcL_g,0,0

From resource-errors.log

Resource: https://server:9443/jts/storage/com.ibm.rdm.resources/rrc1921
Message: com.ibm.rdm.fronting.server.rrs.migration.SoftMigrationException: java.lang.Throwable: Migration of content was unsuccessful:
Error 0: cvc-complex-type.2.4.a: Invalid content was found starting with element 'h2'. One of '{"http://www.w3.org/1999/xhtml":a, "http://www.w3.org/1999/xhtml":br, "http://www.w3.org/1999/xhtml":span, "http://www.w3.org/1999/xhtml":bdo, "http://www.w3.org/1999/xhtml":map, "http://www.w3.org/1999/xhtml":object, "http://www.w3.org/1999/xhtml":img, "http://www.w3.org/1999/xhtml":u, "http://www.w3.org/1999/xhtml":tt, "http://www.w3.org/1999/xhtml":i, "http://www.w3.org/1999/xhtml":b, "http://www.w3.org/1999/xhtml":big, "http://www.w3.org/1999/xhtml":small, "http://www.w3.org/1999/xhtml":em, "http://www.w3.org/1999/xhtml":strong, "http://www.w3.org/1999/xhtml":dfn, "http://www.w3.org/1999/xhtml":code, "http://www.w3.org/1999/xhtml":q, "http://www.w3.org/1999/xhtml":samp, "http://www.w3.org/1999/xhtml":kbd, "http://www.w3.org/1999/xhtml":var, "http://www.w3.org/1999/xhtml":cite, "http://www.w3.org/1999/xhtml":abbr, "http://www.w3.org/1999/xhtml":acronym, "http://www.w3.org/1999/xhtml":sub, "http://www.w3.org/1999/xhtml":sup, "http://www.w3.org/1999/xhtml":input, "http://www.w3.org/1999/xhtml":select, "http://www.w3.org/1999/xhtml":textarea, "http://www.w3.org/1999/xhtml":label, "http://www.w3.org/1999/xhtml":button, "http://www.w3.org/1999/xhtml":ins, "http://www.w3.org/1999/xhtml":del}' is expected.
Transformed XML:
<div xmlns="http://www.w3.org/1999/xhtml">
<p><h2>Definition:</h2><p>Indicates whether an ARM loan is active or not.</p><h2>Business Comment:</h2><p>1.6 Read only for TUC1.6.</p></p>
</div>
at com.ibm.rdm.fronting.server.rrs.migration.command.RRC20toRRS30MigrationCommand$RevisionExecutionTask.doDelta(RRC20toRRS30MigrationCommand.java:2678)
at com.ibm.rdm.fronting.server.rrs.migration.MigrationExecutor$4.run(MigrationExecutor.java:151)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:678)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:703)
at java.lang.Thread.run(Thread.java:811)
Caused by: java.lang.Throwable: Migration of content was unsuccessful:
Error 0: cvc-complex-type.2.4.a: Invalid content was found starting with element 'h2'. One of '{"http://www.w3.org/1999/xhtml":a, "http://www.w3.org/1999/xhtml":br, "http://www.w3.org/1999/xhtml":span, "http://www.w3.org/1999/xhtml":bdo, "http://www.w3.org/1999/xhtml":map, "http://www.w3.org/1999/xhtml":object, "http://www.w3.org/1999/xhtml":img, "http://www.w3.org/1999/xhtml":u, "http://www.w3.org/1999/xhtml":tt, "http://www.w3.org/1999/xhtml":i, "http://www.w3.org/1999/xhtml":b, "http://www.w3.org/1999/xhtml":big, "http://www.w3.org/1999/xhtml":small, "http://www.w3.org/1999/xhtml":em, "http://www.w3.org/1999/xhtml":strong, "http://www.w3.org/1999/xhtml":dfn, "http://www.w3.org/1999/xhtml":code, "http://www.w3.org/1999/xhtml":q, "http://www.w3.org/1999/xhtml":samp, "http://www.w3.org/1999/xhtml":kbd, "http://www.w3.org/1999/xhtml":var, "http://www.w3.org/1999/xhtml":cite, "http://www.w3.org/1999/xhtml":abbr, "http://www.w3.org/1999/xhtml":acronym, "http://www.w3.org/1999/xhtml":sub, "http://www.w3.org/1999/xhtml":sup, "http://www.w3.org/1999/xhtml":input, "http://www.w3.org/1999/xhtml":select, "http://www.w3.org/1999/xhtml":textarea, "http://www.w3.org/1999/xhtml":label, "http://www.w3.org/1999/xhtml":button, "http://www.w3.org/1999/xhtml":ins, "http://www.w3.org/1999/xhtml":del}' is expected.
Transformed XML:
<div xmlns="http://www.w3.org/1999/xhtml">
<p><h2>Definition:</h2><p>Indicates something.</p><h2>Business Comment:</h2><p>1.6 Read only for TUC1.6.</p></p>
</div>
at com.ibm.rdm.fronting.server.rrs.migration.command.RRC20toRRS30MigrationCommand$RevisionExecutionTask.doDelta(RRC20toRRS30MigrationCommand.java:2674)
... 4 more


We have downloaded/uploaded the project on multiple occasions in 2.x. We also used the API to load most of the requirements from an external source.


Any ideas?

0 votes



One answer

Permanent link
Hello...

We are testing migration from 2.x to 3.0.1 GA and receiving the following error.

Migration of content was unsuccessful: Error 0: cvc-complex-type.2.4.a: Invalid content was found starting with element 'h2'. One of '{"http://www.w3.org/1999/xhtml":a, "http://www.w3.org/1999/xhtml":br, "http://www.w3.org/1999/xhtml":span, "http://www.w3.org/1999/xhtml":bdo, "http://www.w3.org/1999/xhtml":map, "http://www.w3.org/1999/xhtml":object, "http://www.w3.org/1999/xhtml":img, "http://www.w3.org/1999/xhtml":u, "http://www.w3.org/1999/xhtml":tt, "http://www.w3.org/1999/xhtml":i, "http://www.w3.org/1999/xhtml":b, "http://www.w3.org/1999/xhtml":big, "http://www.w3.org/1999/xhtml":small, "http://www.w3.org/1999/xhtml":em, "http://www.w3.org/1999/xhtml":strong, "http://www.w3.org/1999/xhtml":dfn, "http://www.w3.org/1999/xhtml":code, "http://www.w3.org/1999/xhtml":q, "http://www.w3.org/1999/xhtml":samp, "http://www.w3.org/1999/xhtml":kbd, "http://www.w3.org/1999/xhtml":var, "http://www.w3.org/1999/xhtml":cite, "http://www.w3.org/1999/xhtml":abbr, "http://www.w3.org/1999/xhtml":acronym, "http://www.w3.org/1999/xhtml":sub, "http://www.w3.org/1999/xhtml":sup, "http://www.w3.org/1999/xhtml":input, "http://www.w3.org/1999/xhtml":select, "http://www.w3.org/1999/xhtml":textarea, "http://www.w3.org/1999/xhtml":label, "http://www.w3.org/1999/xhtml":button, "http://www.w3.org/1999/xhtml":ins, "http://www.w3.org/1999/xhtml":del}' is expected.

The migration does complete, but contains 4492 "non-critical" Errors. The above error message is displayed as text in the body of our requirements.

Not sure if this helps, but it appears that each of the requirements has an initial or historical pointer to an entry that doesn't exist in the database. These show as the "NONE" entries below.

From resources-metrics.csv

Resources,NONE,rrc1921,_1VJ6cjO-EeCyEuskJm5SsA,0,0
Resources,UPDATE,rrc1921,_TtpUITPFEeCyEuskJm5SsA,15,63
Resources,UPDATE,rrc1921,_iHPPgq2NEeCFJvRyIhIorw,0,47
Resources,UPDATE,rrc1921,_Lgg0orfdEeCNYPoi1rcL_g,16,109


Bookmarks,NONE,rrc1921,_1VwXZTO-EeCyEuskJm5SsA,0,0
Bookmarks,NONE,rrc1921,_Tur18jPFEeCyEuskJm5SsA,0,0
Bookmarks,NONE,rrc1921,_Tvu-0jPFEeCyEuskJm5SsA,0,0
Bookmarks,NONE,rrc1921,_TwxgojPFEeCyEuskJm5SsA,0,0
Bookmarks,NONE,rrc1921,_Tx0pgjPFEeCyEuskJm5SsA,0,0
Bookmarks,UPDATE,rrc1921,_HMiGkqDqEeCV1tjDNoLvYg,0,31


Views,NONE,rrc1921,_1VJ6cjO-EeCyEuskJm5SsA,0,0
Views,NONE,rrc1921,_TtpUITPFEeCyEuskJm5SsA,0,0
Views,NONE,rrc1921,_iHPPgq2NEeCFJvRyIhIorw,0,0
Views,NONE,rrc1921,_Lgg0orfdEeCNYPoi1rcL_g,0,0

From resource-errors.log

Resource: https://server:9443/jts/storage/com.ibm.rdm.resources/rrc1921
Message: com.ibm.rdm.fronting.server.rrs.migration.SoftMigrationException: java.lang.Throwable: Migration of content was unsuccessful:
Error 0: cvc-complex-type.2.4.a: Invalid content was found starting with element 'h2'. One of '{"http://www.w3.org/1999/xhtml":a, "http://www.w3.org/1999/xhtml":br, "http://www.w3.org/1999/xhtml":span, "http://www.w3.org/1999/xhtml":bdo, "http://www.w3.org/1999/xhtml":map, "http://www.w3.org/1999/xhtml":object, "http://www.w3.org/1999/xhtml":img, "http://www.w3.org/1999/xhtml":u, "http://www.w3.org/1999/xhtml":tt, "http://www.w3.org/1999/xhtml":i, "http://www.w3.org/1999/xhtml":b, "http://www.w3.org/1999/xhtml":big, "http://www.w3.org/1999/xhtml":small, "http://www.w3.org/1999/xhtml":em, "http://www.w3.org/1999/xhtml":strong, "http://www.w3.org/1999/xhtml":dfn, "http://www.w3.org/1999/xhtml":code, "http://www.w3.org/1999/xhtml":q, "http://www.w3.org/1999/xhtml":samp, "http://www.w3.org/1999/xhtml":kbd, "http://www.w3.org/1999/xhtml":var, "http://www.w3.org/1999/xhtml":cite, "http://www.w3.org/1999/xhtml":abbr, "http://www.w3.org/1999/xhtml":acronym, "http://www.w3.org/1999/xhtml":sub, "http://www.w3.org/1999/xhtml":sup, "http://www.w3.org/1999/xhtml":input, "http://www.w3.org/1999/xhtml":select, "http://www.w3.org/1999/xhtml":textarea, "http://www.w3.org/1999/xhtml":label, "http://www.w3.org/1999/xhtml":button, "http://www.w3.org/1999/xhtml":ins, "http://www.w3.org/1999/xhtml":del}' is expected.
Transformed XML:
<div xmlns="http://www.w3.org/1999/xhtml">
<p><h2>Definition:</h2><p>Indicates whether an ARM loan is active or not.</p><h2>Business Comment:</h2><p>1.6 Read only for TUC1.6.</p></p>
</div>
at com.ibm.rdm.fronting.server.rrs.migration.command.RRC20toRRS30MigrationCommand$RevisionExecutionTask.doDelta(RRC20toRRS30MigrationCommand.java:2678)
at com.ibm.rdm.fronting.server.rrs.migration.MigrationExecutor$4.run(MigrationExecutor.java:151)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:678)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:703)
at java.lang.Thread.run(Thread.java:811)
Caused by: java.lang.Throwable: Migration of content was unsuccessful:
Error 0: cvc-complex-type.2.4.a: Invalid content was found starting with element 'h2'. One of '{"http://www.w3.org/1999/xhtml":a, "http://www.w3.org/1999/xhtml":br, "http://www.w3.org/1999/xhtml":span, "http://www.w3.org/1999/xhtml":bdo, "http://www.w3.org/1999/xhtml":map, "http://www.w3.org/1999/xhtml":object, "http://www.w3.org/1999/xhtml":img, "http://www.w3.org/1999/xhtml":u, "http://www.w3.org/1999/xhtml":tt, "http://www.w3.org/1999/xhtml":i, "http://www.w3.org/1999/xhtml":b, "http://www.w3.org/1999/xhtml":big, "http://www.w3.org/1999/xhtml":small, "http://www.w3.org/1999/xhtml":em, "http://www.w3.org/1999/xhtml":strong, "http://www.w3.org/1999/xhtml":dfn, "http://www.w3.org/1999/xhtml":code, "http://www.w3.org/1999/xhtml":q, "http://www.w3.org/1999/xhtml":samp, "http://www.w3.org/1999/xhtml":kbd, "http://www.w3.org/1999/xhtml":var, "http://www.w3.org/1999/xhtml":cite, "http://www.w3.org/1999/xhtml":abbr, "http://www.w3.org/1999/xhtml":acronym, "http://www.w3.org/1999/xhtml":sub, "http://www.w3.org/1999/xhtml":sup, "http://www.w3.org/1999/xhtml":input, "http://www.w3.org/1999/xhtml":select, "http://www.w3.org/1999/xhtml":textarea, "http://www.w3.org/1999/xhtml":label, "http://www.w3.org/1999/xhtml":button, "http://www.w3.org/1999/xhtml":ins, "http://www.w3.org/1999/xhtml":del}' is expected.
Transformed XML:
<div xmlns="http://www.w3.org/1999/xhtml">
<p><h2>Definition:</h2><p>Indicates something.</p><h2>Business Comment:</h2><p>1.6 Read only for TUC1.6.</p></p>
</div>
at com.ibm.rdm.fronting.server.rrs.migration.command.RRC20toRRS30MigrationCommand$RevisionExecutionTask.doDelta(RRC20toRRS30MigrationCommand.java:2674)
... 4 more


We have downloaded/uploaded the project on multiple occasions in 2.x. We also used the API to load most of the requirements from an external source.


Any ideas?


I suggest filing a defect for this item here: https://jazz.net/jazz03/web/projects/Rational%20Requirements%20Composer#action=com.ibm.team.workitem.newWorkItem&ts=1316199212000

- Jared

0 votes

Your answer

Register or log in to post your answer.

Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.

Search context
Follow this question

By Email: 

Once you sign in you will be able to subscribe for any updates here.

By RSS:

Answers
Answers and Comments
Question details

Question asked: Sep 15 '11, 11:58 a.m.

Question was seen: 4,849 times

Last updated: Sep 15 '11, 11:58 a.m.

Confirmation Cancel Confirm