【发布时间】:2020-05-08 14:35:16
【问题描述】:
我的 XML 有什么问题?
我正在尝试将一个度量系列导入 PM,它给了我以下错误:
cvc-elt.1:找不到元素“DataModel”的声明
<?xml version="1.0" encoding="UTF-8"?>
<!--Auto-generated by the type catalog local manager.-->
<DataModel xmlns="http://im.ca.com/normalizer" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://im.ca.com/normalizer IMDBCertificationFacet.xsd">
<Author>JMEDRAN</Author>
<Version>1.0</Version>
<FacetType name="NormalizedUPSInfoEltek" descriptorClass="com.ca.im.core.datamodel.certs.NormalizedFacetDescriptorImpl">
<Documentation>Defines the identification information and polled metrics for UPS-Eltek-S</Documentation>
<FacetOf namespace="http://im.ca.com/core" name="Item" />
</DataModel>
【问题讨论】:
标签: xml xsd xml-namespaces xsd-validation xml-validation