这个xml的Schema文件到底有什么格式问题?每次载入时都会报:
“Content is not allowed in prolog”
我检查了好几遍,并没有什么全拼的特殊字符啊什么的,格式应该没有问题啊哪位高人帮忙看看,到底有什么地方不对,抛出的异常就定位到第二行第一列上:<?xml version="1.0" encoding="UTF-8"?>
<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:tadig-gen="https://infocentre.gsm.org/TADIG-GEN" xmlns:tadig-raex="https://infocentre.gsm.org/TADIG-RAEX" targetNamespace="https://infocentre.gsm.org/TADIG-RAEX" elementFormDefault="qualified" attributeFormDefault="unqualified">
<xsd:import namespace="https://infocentre.gsm.org/TADIG-GEN" schemaLocation="tadig-gen-2.0.xsd"/>
<!-- ========================================================================================== -->
<xsd:element name="TADIGRaexDataSchemaVersion">
<xsd:simpleType>
<xsd:restriction base="tadig-gen:genericSchemaVersionType">
<xsd:enumeration value="2.0"/>
</xsd:restriction>
</xsd:simpleType>
</xsd:element>
<!-- ========================================================================================== -->
<xsd:simpleType name="destinationIdentifierValueType">
<xsd:restriction base="xsd:string">
<xsd:pattern value="([0-9]{1,15})|(Own|Other Mobile|Fixed|Other)"/>
</xsd:restriction>
</xsd:simpleType>
<!-- ========================================================================================== -->
<xsd:simpleType name="smsIWReceptionFromOtherSMSCType">
<xsd:restriction base="xsd:string">
<xsd:enumeration value="Y"/>
<xsd:enumeration value="N"/>
<xsd:enumeration value="AA19only"/>
</xsd:restriction>
</xsd:simpleType>
</xsd:schema>
“Content is not allowed in prolog”
我检查了好几遍,并没有什么全拼的特殊字符啊什么的,格式应该没有问题啊哪位高人帮忙看看,到底有什么地方不对,抛出的异常就定位到第二行第一列上:<?xml version="1.0" encoding="UTF-8"?>
<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:tadig-gen="https://infocentre.gsm.org/TADIG-GEN" xmlns:tadig-raex="https://infocentre.gsm.org/TADIG-RAEX" targetNamespace="https://infocentre.gsm.org/TADIG-RAEX" elementFormDefault="qualified" attributeFormDefault="unqualified">
<xsd:import namespace="https://infocentre.gsm.org/TADIG-GEN" schemaLocation="tadig-gen-2.0.xsd"/>
<!-- ========================================================================================== -->
<xsd:element name="TADIGRaexDataSchemaVersion">
<xsd:simpleType>
<xsd:restriction base="tadig-gen:genericSchemaVersionType">
<xsd:enumeration value="2.0"/>
</xsd:restriction>
</xsd:simpleType>
</xsd:element>
<!-- ========================================================================================== -->
<xsd:simpleType name="destinationIdentifierValueType">
<xsd:restriction base="xsd:string">
<xsd:pattern value="([0-9]{1,15})|(Own|Other Mobile|Fixed|Other)"/>
</xsd:restriction>
</xsd:simpleType>
<!-- ========================================================================================== -->
<xsd:simpleType name="smsIWReceptionFromOtherSMSCType">
<xsd:restriction base="xsd:string">
<xsd:enumeration value="Y"/>
<xsd:enumeration value="N"/>
<xsd:enumeration value="AA19only"/>
</xsd:restriction>
</xsd:simpleType>
</xsd:schema>
解决方案 »
- 类似QQ聊天室的实现!!!
- 控制iframe的页面显示
- JS+DIV实现图片向上翻为什么在firefox里看不到
- scriptlet
- 页面编码为gb2312,使用ajax传输中文乱码解决办法
- 请问有什么简单的方法能判断一个字符串里是否含有中文字符?
- ******求一个从数据库返回用户信息的源代码************
- 打开word连接问题。在线等100分不够可以再给。
- javabean建模的问题?散分
- jsp如何读取EXCEL的数据?
- jstl定义了个变量,循环中想自增,能实现么,问了高手说不行.难道只有自定义标签
- 为什么ajaxanywhere遇到了return和if,else就不正常执行了
<xsd:restriction base="tadig-gen:genericSchemaVersionType">这个类型定义在tadig-gen命名空间的xml Schema中定义了的,在<xsd:import namespace="https://infocentre.gsm.org/TADIG-GEN" schemaLocation="tadig-gen-2.0.xsd"/>
中引入,只不过我没有把这个文档贴上来,这是没有问题的