|
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?desktop=1&fid=14&tid=1333308]: |
0ms |
get settings: |
7ms |
get forum list: |
11ms |
check forum access: |
4ms |
check topic access: |
4ms |
track hit: |
37ms |
get topic data: |
11ms |
get forum data: |
2ms |
get page messages: |
35ms |
get tp. blocked users: |
1ms |
others: | 11ms |
total: | 123ms |
0 / 0 |