YABB!
Yet Another BizTalk Blog

True Stories of the XSD Editor

Wednesday, November 07, 2007 10:24 PM

Sometimes when you're working, late at night, hunched over the BizTalk Schema Editor, things just don't seem to work right.

Case in point: right now.

I have a map with a section in the middle of it that looks something like:

            <Project id="4">
                        <ContractId>GS1</ContractId>
                        <CustPO>DXXXXX</CustPO>
                        <ContractType>TM</ContractType>
                        <Owner></Owner>
            </Project>
...

While working with the project containing this schema definition I started running into errors. Specifically, <ContractId> was okay, but <CustPO> seemed to be suddenly invalid. Messages start blowing up coming into the system.

The fix for this:

  1. open your offending schema definition with the editor.
  2. delete all of the nodes inside the record
  3. re-create all of the nodes you just deleted
  4. validate - now it works!
  5. redeploy 'new' schema definition and be on your merry way.

The schema in questoin does import a couple of definitions from a 'global' schema project, but <Project> isn't a part of any of those other than being part of the schema that uses the definitions...




Feedback

# re: True Stories of the XSD Editor

Thank you for sharing your experience, although I don't use <CustPO> at all.
---------------------------
ATG Stores 12/1/2009 2:17 PM | Jenny

# re: True Stories of the XSD Editor

Thanks for sharing, although I don't use <CustPO> at all.
----------------
GoGoShopper.com 12/1/2009 2:21 PM | Jenny

# re: True Stories of the XSD Editor

Thanks for the post. I have ran into alot of the same problems. 2/23/2010 2:49 PM | online pharmacy

# re: True Stories of the XSD Editor

I have had some of these same problems as well. 2/23/2010 2:50 PM | foreign pharmacies

# re: True Stories of the XSD Editor

That is so true, I am glad you elaborated on the fix. 2/23/2010 2:52 PM | prescription

# re: True Stories of the XSD Editor

nice post,thanks 6/23/2010 3:16 PM | kord gitar

# re: True Stories of the XSD Editor

so cool so real ans soo moon! 7/19/2010 3:33 PM | online pharmacy no prescription

# re: True Stories of the XSD Editor

Thnks for this great post! 10/6/2010 5:18 PM | Stop Smoking Help

# Acai Berry Select

There is so much info on this website that I have to come back or I just might miss out on something.
Hey guys eat to live and dont live to eat.

Thanks,
Sako
6/3/2011 2:18 AM | Sako

Post a comment