XML Validation with XSD in Visual Studio IDE

前端 未结 5 1554
别跟我提以往
别跟我提以往 2020-11-28 02:32

I know I have done this before, but it isn\'t working today, nor can I find anywhere that explains how to do it. It could be my lack of sleep, but I suspect gremlins.

5条回答
  •  清歌不尽
    2020-11-28 03:14

    Does your xsd contain an attribute "targetNamespace" /schema/@targetNamespace that is similar to the namespace you are referencing in the xml?

    Examples:

    XSD:

    
    

    XML:

    ...
    

    See also: XML/XSD intellisense not working in Visual Studio 2010

提交回复
热议问题