Re: [xml] XML Schema, unique and namespaces
- From: Piotr Sipika <piotreks optonline net>
- To: Syd_Bauman Brown edu
- Cc: xml gnome org
- Subject: Re: [xml] XML Schema, unique and namespaces
- Date: Tue, 13 Apr 2010 09:48:27 -0400
> Hi there. A few points:
>
> * Not sure this list is really an appropriate place to ask questions
> about the W3C XML Schema Language.
Very true, but libxml2 supports (albeit incompletely) validating XML
documents with XSD, so any questions pertaining to that are valid.
> * Why are you using it, anyway? (I generally advise against using any
> constraint language other than DSDL (i.e., RELAX NG, ISO
> Schematron, et al.) unless circumstances absolutely require it.)
XSDs provide a basic constraint mechanism that works very well. Beyond
the basics (i.e. conditional restriction), yes, one should avoid using
it. If the design calls for XSD validation including basic occurrence
restriction, I see no reason to shy away from it.
All the best!
Piotr
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]