I agree it was a behavior change, but, to me, it's a just a fixed bug:
Dynamic Validation didn't work for Schema.

Original, this feature depends on whether there is/are xsi schema location
attribute(s) on the root element. But this is not appropriate, because:
1. With grammar caching, one can put a grammar in the grammar pool, and
don't have any schema location attribute in the document;
2. The following instance without schema location attribute is still
schema-valid:

<root xmlns:xsi="..." xmlns:xs="..." xsi:type="xs:anyType>
  <c1 xsi:type="xs:int"> 123 </c1>
</root>

Anyway, since you are using this feature, what do you think it should
really mean.

Thanks,
Sandy Gao
Software Developer, IBM Canada
(1-905) 413-3255
[EMAIL PROTECTED]



                                                                                       
                                                
                      [EMAIL PROTECTED]                                                
                                                
                      rg                       To:       [EMAIL PROTECTED]   
                                                
                                               cc:                                     
                                                
                      10/18/2002 04:40         Subject:  DO NOT REPLY [Bug 13729]  -   
  name of root node is not being enforced by    
                      AM                        schema                                 
                                                
                      Please respond to                                                
                                                
                      xerces-j-dev                                                     
                                                
                                                                                       
                                                
                                                                                       
                                                



DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=13729>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=13729

name of root node is not being enforced by schema





------- Additional Comments From [EMAIL PROTECTED]  2002-10-18 08:40
-------
Well, at least Xerces 2.2.0 behaves different here than previous versions.
We
found the old behavior much better for our needs. Same for bug #13730.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to