web
You’re offline. This is a read only version of the page.
close
Skip to main content
Community site session details

Community site session details

Session Id :
Microsoft Dynamics CRM (Archived)

Sitemap Editor XSD validation error

(0) ShareShare
ReportReport
Posted on by 50

In the Dynamics CRM Sitemap editor I receive a XSD validation error: "Sitemap xml failed XSD validation with the following error: 'The element 'SiteMap' has invalid child element 'parsererror' in namespace 'http://www.w3.org/1999/xhtml'. List of possible elements expected: 'Area'.' at line 1 position 39."

What I tried to solve this:

  • Remove '&' characters in URL's
  • Export the solution and check the Sitemap XSD by hand

I can't figure out why the error occurs. Any suggestions?

Thanks a lot,
Elowy.

*This post is locked for comments

I have the same question (0)
  • Suggested answer
    Elowy GrootCRM Profile Picture
    50 on at
    RE: Sitemap Editor XSD validation error

    The error seemed to be in the translations of the Voice of the Customer group definition in the area Settings. I deleted the translations except my own language, that solved the problem.

    What I did to find out the problem:

    • Make a solution with the SiteMap
    • Export the solution unmanaged
    • Edit SiteMap and delete area by area until you can save. That is the area with the problem
    • Import the solution again and repeat these steps with areas and items
  • Community Member Profile Picture
    on at
    RE: Sitemap Editor XSD validation error

    I just created a new 30-day trial with "All apps" selected (Sales, Customer Service, Field Service, Project Service Automation, and "Custom"). The "Custom" app has all SiteMap Areas from the other apps. I was trying to add a new Area to the "Custom" app when I encountered this issue. The only Google results were this thread and one on StackOverflow (stackoverflow.com/.../43498465).

    I initially followed the same steps you did, but the specific mention of "Field Service" in one of the responses in the SO thread made me wonder. I opened up the SiteMap for the "Field Service" app, moved one area, clicked "Save", and encountered the error again. I went back to the "Custom" app SiteMap and deleted the "Field Service" area...the SiteMap saved without error.

    I'm not sure what the actual fix is, but I think we can pinpoint the particular Area that's causing the issue.

    Note: If anyone is going to try this, always save a backup of your current SiteMap XML!

  • Elowy GrootCRM Profile Picture
    50 on at
    RE: Sitemap Editor XSD validation error

    Hi Gopalan,

    Thanks for your reply. 

    Unfortunately there are no & (or other special) characters in the URL's. To be sure I exported the solution and checked all the Url tags in the Customizations.xml. 

    Do you have another suggestion? Or do you now how to check the XML to the XSD by hand? I found the SiteMap.xsd in the development kit, but where not able to find how I can map the Xml with this Xsd.

    Thanks,
    Elowy.

  • Suggested answer
    Gopalan Bhuvanesh Profile Picture
    11,401 on at
    RE: Sitemap Editor XSD validation error

    Hi

    Did you encode the URL?

    Please refer the following:

    msdn.microsoft.com/.../gg309424.aspx

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Andrés Arias – Community Spotlight

We are honored to recognize Andrés Arias as our Community Spotlight honoree for…

Leaderboard > 🔒一 Microsoft Dynamics CRM (Archived)

#1
Aric Levin - MVP Profile Picture

Aric Levin - MVP 2 Moderator

#2
MA-04060624-0 Profile Picture

MA-04060624-0 1

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans