Majirus FANSI wrote:
Hi all,
can xindice validate an xml document via xml schema before storing it? And what is the situation for every other native xml database?
regards
Majirus

It's really not the job of a database to validate XML content. The task falls to an XML processor. If you're running Xindice you have access to an XML processor (i.e., Xindice won't run without one), so you can use the XML processor to perform the validation at any stage during document processing, not just prior to storage.

Because Xindice can use a variety of XML processors, it's only
a question of whether the specific XML processor you're using
supports validation via XML Schema. Xerces, for example, does,
as well as JAXP, the XML processing that's part of Sun's Java 2.

Murray

......................................................................
Murray Altheim                    http://kmi.open.ac.uk/people/murray/
Knowledge Media Institute
The Open University, Milton Keynes, Bucks, MK7 6AA, UK               .

  "Peoples' primary requirement is that some kind of coherence be
   provided. Stories give people the feeling that there is meaning,
   that there is ultimately an order lurking behind the incredible
   confusion of appearances and phenomena that surrounds them. This
   order is what people require more than anything else; yes, I
   would almost say that the notion of order or story is connected
   with the godhead. Stories are substitutes for God. Or maybe the
   other way round." -- Wim Winders



Reply via email to