Re: Schema validation error reporting

2003-09-11 Thread elliot . rapp
Thanks! Exactly the kind of feedback I was looking for. I am not contrained by MSXML's behavior, but some of my users may be accustomed to their error handling. Interesting that you should bring up the error versus fatal error issue b/c I was wondering exactly how I should treat these errors.

Re: Schema validation error reporting

2003-09-11 Thread Jeffrey Rodriguez
Elliot, Diiging into the parser documentation I found the following method in the parser named setValidationConstraintFatal. It is set to false by default, but if it is set to true then the parser will treat a validation error as fatal and will exit depending of the state of setExitOnFirstFata

Re: Schema validation error reporting

2003-09-11 Thread Jeffrey Rodriguez
I would suggest to look at the specs for an answer to your question. I don't remember of anything that says return all errors or just the first, but the schema specification talks about a normative outcome tabulation in appendix C. Each spec specifies suggestions and requirements that would/shou

RE: Is Xerces able to validate key and keyref

2003-09-11 Thread Patrick Blanchette
I fixed HousingUnit-Unit thing, it was definitively wrong but it doesn't seem to help. I'm am a newbie in using schema identity constraints. Still have work to do to fully understand the feature. thanks Patrick > -Original Message- > From: Neil Graham [mailto:[EMAIL PROTECTED] > Sent:

RE: Is Xerces able to validate key and keyref

2003-09-11 Thread Neil Graham
Hi Patrick, Note that the selectors of the key an keyref in the HousingUnitList element are looking for elements named Unit, but your document (and the type definitions) expect HousingUnit. If you fix this, it might work. Note that Xerces can't statically check things like this because, if y

RE: Is Xerces able to validate key and keyref

2003-09-11 Thread Patrick Blanchette
This example is a subset of an example found on http://www.xml.com/pub/a/2002/11/13/normalizing.html#CarTable. I removed a lot of tags and changed the realtor value to make it invalid but when I validate it, no error are found. Thanks a lot. Patrick Here is the XML file: http://www.mybigrealty

Schema validation error reporting

2003-09-11 Thread elliot . rapp
Ok, this topic has probably been dealt with before, but I can't seem to find itif it already exists, I apologize. When I have an instance document that fails against a given schema, Xerces returns a long list of errors. However, in MSXML I seem to just get the first error returned. Is this

RE: Is Xerces able to validate key and keyref

2003-09-11 Thread Neil Graham
Hi Patrick, Yes, Xerces-C supports schema identity constraints. There are a few ways in which beginning users go wrong when using schema identity constraints; the most common is that they think default namespace applies to XPath expressions when it doesn't. In order to give you any more usef

RE: Is Xerces able to validate key and keyref

2003-09-11 Thread Patrick Blanchette
Ok, Looks like that there is a lot of code about identity constraints in xerces. What is the purpose of this code? Would there by any advantage of using key-keyref in my schema when parsing with xerces? Thanks Patrick > -Original Message- > From: Erik Rydgren [mailto:[EMAIL PROTECTED] >

Is Xerces able to validate key and keyref

2003-09-11 Thread Patrick Blanchette
Hi, I want to validate that a key refered by a keyref really exist. I create a schema that establish a relation between 2 XML nodes using key-keyref. I create an XML file that respect the schema, the xml is validated successfully. My problem is that it seems that there is no integrity v

DO NOT REPLY [Bug 21780] - Surrogate characters mishandled by SAXPrint and SAX2Print.

2003-09-11 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT . ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE. http://nagoya.apache.org/bugzilla/show_bu

DO NOT REPLY [Bug 23100] New: - getElementById() returns element instance outside document tree

2003-09-11 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT . ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE. http://nagoya.apache.org/bugzilla/show_bu

DO NOT REPLY [Bug 23095] - bug in Win32LCPTranscoder::transcode ?

2003-09-11 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT . ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE. http://nagoya.apache.org/bugzilla/show_bu

DO NOT REPLY [Bug 23024] - DOMCasts magic: failure building Xerces-C 2.3.0 with C++ Builder 5

2003-09-11 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT . ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE. http://nagoya.apache.org/bugzilla/show_bu