At 12:08 15/01/2003 +0100, you wrote:
Hi,


Xindice isn't using XML validation at this time, and i don't know if its planned. So its up to you what are u putting in your xindice. My Tip when u program in Java just use the SUN MSV Validation package, this works quite easy and fast. You can store the XSD's in Xindice too, cause its XML like your documents.

I do not know if having complete XML Schema support is such a good thing. The reason why I mention this is because of XML Query. Consider the following of XQuery 1.0 and XPath 2.0 data model section 3.3


******************************
In other words, the data model supports the following classes of XML documents:

    *     Well-formed documents conforming to [Namespaces in XML],
    *      DTD-valid documents conforming to [Namespaces in XML], and
    *      W3C XML Schema-validated documents.

The data model supports some kinds of values that are not supported by [XML Information Set]. Examples of these are well-formed document fragments, sequences of fragments or sequences of documents. The data model also supports values that are not nodes. Examples of these are atomic values, sequences of atomic values, or sequences mixing nodes and atomic values. These are necessary to be able to represent the results of intermediate expressions in the data model during expression processing.
******************************
The result is that Xindice may in the future have to support both XML documents with and without DTD and Schema's.


Just my two cents though...

Christian Gross



Reply via email to