...">

What could be wrong with this xsd?

I have xsd. When I try to test it in BizTalk, it gives the following errors:

error BEC2009: Node "<Schema>" - Schema reference "http://www.w3.org/2001/xml.xsd" is not a valid reference or does not exist in the current project.

error BEC2009: Node "<Schema>" - Schema reference "http://www.w3.org/2001/xml.xsd" is not a valid reference or does not exist in the current project.

warning BEC999: Cannot resolve the 'schemaLocation' attribute.

error BEC3001: The 'http://www.w3.org/XML/1998/namespace:space' attribute is not declared.

warning BEC999: Cannot resolve the 'schemaLocation' attribute.

warning BEC1007: Node "<Schema>" - Target namespace is empty.

I think this applies to namespaces that look like this:

<?xml version="1.0" encoding="UTF-8"?>
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema">
    <xs:import namespace="http://www.w3.org/XML/1998/namespace" schemaLocation="http://www.w3.org/2001/xml.xsd"/>

Not sure if this is enough information ...

Edit:
I found that depending on which program I use to validate xml, it sometimes works. For instance. If I create some .net code to check the xml code for the circuit, it seems to read xsd ok and check the xml. If I use xml validation in notepad ++, it says that it cannot read the schema. In another controller (WTX) they say that it also does not work.

Are there other things that I can try to narrow down possible problems?

2:
xcut. , BizTalk, , 1 : BEC1007: Node "" - .

+3
1

, , , BizTalk URL- ( .net- ).

, w3.org, http.

+2

Source: https://habr.com/ru/post/1729995/


All Articles