|
Home > Archive > BizTalk Server General > March 2004 > BT2004 Migrated Schemas question
You are viewing an archived Text-only version of the thread.
To view this thread in it's original format and/or if you want to reply to
this thread please [click here]
| Author |
BT2004 Migrated Schemas question
|
|
| Elizabeth Graham 2004-03-20, 9:23 pm |
| Hello,
I have two schemas that I have migrated from BT2002 to
BT2004 RTM. In both migrated schemas, I have the
following format:
<Schema>
Title Node
Header Node
Child node
Detail Node
Child nodes
When I select the Flat File tab in the right hand side of
the schema page, I see the format described above, plus I
see the header node and detail nodes, plus child nodes
repeated. Why is this? When I delete from either
section, the item is deleted from the schema. Plus when I
add an item, it gets added to both sections as well.
I also manually recreated one of the schemas in BT2004.
In the manually created schema I only get one set of the
header and detail nodes.
Thanks,
Elizabeth
| |
| Johnny 2004-03-22, 11:39 am |
| Hi,
Try to open your schemas with any text editor to verify if there's any reference defined in your schema (element ref="..."). You will get this problem when you import to BizTalk 2004 all the exported XSD schema from BizTalk 2002.
Regards,
Johnny
| |
| Elizabeth Graham 2004-03-22, 11:39 am |
| There are refrences through out both schemas. Is there
anyway to stop this from occuring when Migrating from
BT2002?
The following are the steps I took to fix the issue:
Steps to Migrate the BT2002 files after "Migrating" the
files from Biztalk 2002
1) Open the schema XSDs in notepad.
2) Change the <b:schemaInfo> tag by removing the
BizTalkServerEditorTool_Version, displayroot_reference,
suppress_empty_nodes, parser_optimization attributes.
3) Save and close the XSD.
4) Open the XSD within a Biztalk project.
5) Turn off auto refresh. This is optional, but I
strongly suggest doing so.
6) You will see a list of all parent nodes, plus all
child nodes.
7) Open all the parent records. Ignore the
attributes and elements.
8) Drill down into the record nodes, and starting
with the lowest value, delete the records one at a time.
9) Add the <Schema>\child record value to the correct
parent record. Repeat until schema is correct.
- If you have child records, you must delete the
child record before adding the <Schema> child node.
- I would advise taking screen shots of all
parent/child values and saving often.
10) Make sure the Min Occurs value is set to 0 for all
record nodes.
11) Open map and replace both schemas.
|
|
|
|
|