- From: Martin J. Duerst <duerst@w3.org>
- Date: Wed, 11 Oct 2000 16:17:17 +0900
- To: <xmlschema-dev@w3.org>
- Cc: fallside@us.ibm.com
I have a series of simple and maybe silly questions (and in part, this may be the wrong list): Are the examples of the primer available somewhere on the web? The example.com domain suggests no. It would be nice to have them somewhere. Does the following example instance conform to the po.xsd example in 2.1 of the primer: <?xml version='1.0'?> <comment>This is just a comment.</comment> What about the following one: <?xml version=1.0'?> <comment xmlns='http://www.example.com/PO1'>This is just a comment.</comment> I guess the answer to both questions is the same, and my guess is that the answer is yes. In that case, here is the next question: Assume somebody doesn't like to get comment-only documents like the above into his/her order-processing system, and wants to use schema validation to avoid it, we get to the next question: For the PurchaseOrder scheme(s), it looks easy to make <comment> local (for po.xsd, only two instances), and the penalty that these are not 'the same thing' in the schema anymore doesn't look that big. But is it possible to e.g. write a schema for something like html with everything except <html> local, without combinatorial explosion? Does anybody have experience in this area? Regards, Martin.
Received on Wednesday, 11 October 2000 03:22:59 UTC