- From: Victor Bolshov <crocodile2u@yandex.ru>
- Date: Fri, 22 Sep 2006 11:22:16 +0400
- To: jeacott@hardlight.com.au
- CC: www-forms@w3.org
Jason wrote: > > ok, from the deafening silence from my previous post I can only assume > that my query was either > a: completely ridiculous - perhaps someone might be kind enough to > highlight why for me? > b: nobody had a clue what I meant > c: nobody cared enough to respond > d: nobody read it at all. > I am not that much a specialist, so my answer is definitely not the one you should rely on. But, it seems that, submitting multiple instances at once will result in submitting an invalid XML. Each instance document is a valid XML, but once we put two instance documents together they become invalid - they do not have a common root element. Now about your example with messages. I had a similar problem. The instance data were sent to server where they had to pass through validation (XMLSchema and also domain-specific validation, such check for unique values and so on). I had to let the user know about those validation errors. What I've done was: I've made an <instance id="errorList">. The <submission> element was as follows: <submission replace="instance" instance="errorList">. The server response consisted of <error> elements wrapped in the root <errorList> element - so I could show server-side validation errors to the user. Again, it is possible that I just get you (and your problem) wrong... Hope my answer was of interest. Victor.
Received on Friday, 22 September 2006 07:23:05 UTC