XSD 1.1 using xerces 2.11

2010-12-15 Thread Andrew Welch
from org.apache.xerces.jaxp.validation... is that right? thanks andrew -- Andrew Welch http://andrewjwelch.com - To unsubscribe, e-mail: j-users-unsubscr...@xerces.apache.org For additional commands, e-mail: j-users-h

Re: DOM thread safety issues disapearring children

2011-06-09 Thread Andrew Welch
safe? -- Andrew Welch http://andrewjwelch.com - To unsubscribe, e-mail: j-users-unsubscr...@xerces.apache.org For additional commands, e-mail: j-users-h...@xerces.apache.org

Re: DOM thread safety issues disapearring children

2011-06-09 Thread Andrew Welch
So in some implementations of any class ... 'read' methods may or may not be thread safe depending on the implementation. Even if the underlying data is fixed and doesn't change? -- Andrew Welch http://andrewjwelch.com

Re: DOM thread safety issues disapearring children

2011-06-09 Thread Andrew Welch
to walk to the next sibling to return the result. Without that optimization the time spent iterating over the NodeList would be O(n^2) instead of linear. Ah ok, so there is some saved state going on. Next question, what makes iterating over the list n-squared? thanks -- Andrew Welch http

Re: DOM thread safety issues disapearring children

2011-06-09 Thread Andrew Welch
is indexing into. Without the cache you have to either start from the beginning or the end of the list every time to find the Node and over a for loop that ends up being n-squared. Thanks for the replies, all very interesting to know. -- Andrew Welch http://andrewjwelch.com

Re: cvc-complex-type.2.4.a: Invalid content was found starting with element 'add'. One of '{add, modify, remove}' is expected.

2012-03-26 Thread Andrew Welch
you very much - To unsubscribe, e-mail: j-users-unsubscr...@xerces.apache.org For additional commands, e-mail: j-users-h...@xerces.apache.org -- Andrew Welch http://andrewjwelch.com

Re: factory.newSchema(schemaLocation) freezes

2012-03-29 Thread Andrew Welch
it will allow you to put a break point in there to see whats going on or output some diagnostics. -- Andrew Welch http://andrewjwelch.com - To unsubscribe, e-mail: j-users-unsubscr...@xerces.apache.org For additional commands, e-mail: j

Re: XSD 1.1 using xerces 2.11

2012-04-04 Thread Andrew Welch
) For people like me :) it might be worth differentiating them a little more, maybe the version with 1.1 could be Xerces 3.0, leaving the 2.x version for 1.0? thanks andrew On 15 December 2010 16:51, Andrew Welch andrew.j.we...@gmail.com wrote: Sanity check... Did you download [1] the stable version

Re: How do I load an XSD 1.1 Schema using the XSloader?

2012-04-23 Thread Andrew Welch
but the requested value cannot be set”. So, how do I get an XSLoader that will load a 1.1 xsd? Are you sure you've got the 2.11 version that supports xsd 1.1 ? There are 2 versions of 2.11.0, one that supports xsd 1.0, and one that supports xsd 1.1. -- Andrew Welch http://andrewjwelch.com

Re: error when using

2012-09-25 Thread Andrew Welch
at javax.xml.validation.SchemaFactory.newInstance(Unknown Source) at jaxp.SourceValidator.main(Unknown Source) -- Andrew Welch http://andrewjwelch.com - To unsubscribe, e-mail: j-users-unsubscr...@xerces.apache.org For additional commands

Re: contention during XMLReaderFactory.createXMLReader

2013-11-13 Thread Andrew Welch
Andrew Welch andrew.j.we...@gmail.com wrote on 11/12/2013 07:48:47 AM: Hi, A colleague was doing some performance testing and discovered some contention at this line of my code: XMLReaderFactory.createXMLReader(org.apache.xerces.parsers.SAXParser); ...which was surprising : ) He informed me

Re: contention during XMLReaderFactory.createXMLReader

2013-11-13 Thread Andrew Welch
Glavassevich XML Technologies and WAS Development IBM Toronto Lab E-mail: mrgla...@ca.ibm.com E-mail: mrgla...@apache.org Andrew Welch andrew.j.we...@gmail.com wrote on 11/12/2013 07:48:47 AM: Hi, A colleague was doing some performance testing and discovered some contention at this line of my