Russian Qt Forum
Сентябрь 21, 2024, 09:54 *
Добро пожаловать, Гость. Пожалуйста, войдите или зарегистрируйтесь.
Вам не пришло письмо с кодом активации?

Войти
 
  Начало   Форум  WIKI (Вики)FAQ Помощь Поиск Войти Регистрация  

Страниц: [1]   Вниз
  Печать  
Автор Тема: XML схема  (Прочитано 5860 раз)
Griha
Гость
« : Октябрь 04, 2006, 11:59 »

Здраствуйте.
Столкнулся со следующией проблемой. Если кто знает подскажите пожалуйста.
Имеесться XML документ имеестся также XML cхема его описывающая  Необходимо проверить правильность XML c помощью данной схемы можно ли это сделать стандартными классам QT.
Записан
alexis
Гость
« Ответ #1 : Октябрь 04, 2006, 12:19 »

нет, нельзя
в рассылке было, и обратного утверждения я не нашел.

On 24.08.06 10:16:58, Berge, Harry ten wrote:
> Has anyone an idea how you can combine the Qt XML classes with additional
> schema valiation?
> Currently schema validation is not available within Qt, and I don't wat to
> turn to other tooling like Xerces because the application in question is a
> pure-Qt application.
>  
> Anyone ideas?

Do it yourself, but you're probably better of not doing so, unless you
got too much free time and a bunch of helpers.

> BTW, wouldn't it be a great feature to add to Qt?

Well, Qt's XML functions are not meant to replace something like Xerces.
Qt is not a XML handling library it just gives you some basic stuff
which one needs to write/read XML configuration files, send some XML
snippets to a server or read data into your application from XML.

Getting Schema support and doing it correctly is much work and I don't
think it'll pay off for TT. But I'm not a Troll so I might be wrong as
well.
Записан
bigirbis
Гость
« Ответ #2 : Октябрь 04, 2006, 13:40 »

Попробуй стандартную связку: expat+sablotron - кроссплатформенно
Записан
malor
Гость
« Ответ #3 : Июнь 02, 2007, 22:24 »

Что такое 'part elements' в предложении "One XML document may use part elements to describe parts of books, another may use part elements to describe parts of cars. " ?
Записан
Страниц: [1]   Вверх
  Печать  
 
Перейти в:  


Страница сгенерирована за 0.04 секунд. Запросов: 20.