|
XML схема
|
|||
---|---|---|---|
#18+
Подскажите, пожалуйста, что неправильно в схеме? Есть xml-файл, есть его схема "xsi.xsd". В схеме начало следующее: <?xml version="1.0" encoding="UTF-8"?> <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <xs:import namespace="http://www.w3.org/2001/XMLSchema-instance" schemaLocation="xsi.xsd"/> В xml-файле: <?xml version="1.0" encoding="UTF-8"?> <КонС xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="xsi.xsd" При валидации возникает ошибка: Imported schema 'xsi.xsd' has a different targetNameSpace '' from what's declared 'http://www.w3.org/2001/XMLSchema-instance' ... |
|||
:
Нравится:
Не нравится:
|
|||
18.02.2010, 20:26 |
|
XML схема
|
|||
---|---|---|---|
#18+
Triksi<xs:import namespace="http://www.w3.org/2001/XMLSchema-instance" schemaLocation="xsi.xsd"/>Зачем? Уберите нафиг ... |
|||
:
Нравится:
Не нравится:
|
|||
18.02.2010, 23:58 |
|
|
start [/forum/topic.php?fid=14&fpage=37&tid=1333308]: |
0ms |
get settings: |
9ms |
get forum list: |
13ms |
check forum access: |
3ms |
check topic access: |
3ms |
track hit: |
40ms |
get topic data: |
9ms |
get forum data: |
2ms |
get page messages: |
36ms |
get tp. blocked users: |
1ms |
others: | 316ms |
total: | 432ms |
0 / 0 |