XSD 1.1 using xerces 2.11

2010-12-15 Thread Andrew Welch
MLSchema11Factory is missing 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 command

Re: XSD 1.1 using xerces 2.11

2010-12-15 Thread Andrew Welch
e the "(XML Schema 1.1)" link... not sure how I missed it as its directly beneath the link I clicked. Wood for the trees time. Now sorted, thanks. -- Andrew Welch http://andrewjwelch.com - To unsubscribe, e-mail: j-

Re: DOM thread safety issues & disapearring children

2011-06-09 Thread Andrew Welch
ot be thread 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 ht

Re: DOM thread safety issues & disapearring children

2011-06-09 Thread Andrew Welch
aved state going on. Next question, what makes iterating over the list n-squared? thanks -- 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
er the list n-squared? > > It's a linked list which the user 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 int

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
nge the schema file if necessary. > I'm using Eclipse Indigo to edit XML files. > > Thank you very much > > - > To unsubscribe, e-mail: j-users-unsubscr...@xer

Re: factory.newSchema(schemaLocation) freezes

2012-03-27 Thread Andrew Welch
> I modified my catalog to use systemId, but I'm now getting the error below. > Any idea what it means ? > > org.xml.sax.SAXParseException: The processing instruction target matching > "[xX][mM][lL]" is not allowed. That means you've got whitespace in front of

Re: factory.newSchema(schemaLocation) freezes

2012-03-27 Thread Andrew Welch
errors when compiling the xsd (although I can't remember if I include the extra information... I will add it if not). Either way, it will help narrow down the issue. http::/kernowforsaxon.sf.net/ -- Andrew Welch http://andrewjwelch.com -

Re: factory.newSchema(schemaLocation) freezes

2012-03-28 Thread Andrew Welch
D:\schema\xhtml-datatypes-1.xsd (1 hits) > Line 19:     >   D:\schema\xhtml-notations-1.xsd (1 hits) > Line 57:   > > Thanks to Michael's mentioning SAXParseException.getSystemId() , I was able > to zero-in on the Length declaration in xhtml-datatypes-1.xsd. > > I

Re: factory.newSchema(schemaLocation) freezes

2012-03-28 Thread Andrew Welch
ill 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

Re: XSD 1.1 using xerces 2.11

2012-04-04 Thread Andrew Welch
pport) 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 wrote: >> Sanity check... Did you download [1] the stable version of Xerc

Re: XSD 1.1 using xerces 2.11

2012-04-04 Thread Andrew Welch
by running Version as you say... but even then I would've needed to remember to look for the 'schema beta' part appended on the end. Anyway, from a dumb user perspective :) it would be helpful if they were a little more distinct (such as version 3.0 for 1.1 support, and

Re: When will 1.1 support leave beta

2012-04-23 Thread Andrew Welch
On 23 April 2012 19:34, David Glaser wrote: > When will the XSD 1.1 functionality in Xerces-J 2.11.0 leave beta? > > > > It seems to be in the beta state since November of 2010. The XSD 1.1 spec has only just become a rec (5th April 2012). -- Andrew Welch http://a

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

2012-04-23 Thread Andrew Welch
: The parameter 1.1 is recognized 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, an

Re: error when using

2012-09-25 Thread Andrew Welch
age specified by: http://www.w3.org/XML/XMLSchema/ > > could be loaded > >at javax.xml.validation.SchemaFactory.newInstance(Unknown Source) > >at jaxp.SourceValidator.main(Unknown Source) -- Andrew Welch http://andrewjwelch.com - To uns

contention during XMLReaderFactory.createXMLReader

2013-11-12 Thread Andrew Welch
perty, and ~1300ms with. This is present in both 2.9 and 2.11 as far as I can see. -- 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: contention during XMLReaderFactory.createXMLReader

2013-11-13 Thread Andrew Welch
IBM Toronto Lab > E-mail: mrgla...@ca.ibm.com > E-mail: mrgla...@apache.org > > Andrew Welch 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: >> >>

Re: contention during XMLReaderFactory.createXMLReader

2013-11-13 Thread Andrew Welch
om/developerworks/xml/library/x-perfap2/index.html#reuse > > Michael Glavassevich > XML Technologies and WAS Development > IBM Toronto Lab > E-mail: mrgla...@ca.ibm.com > E-mail: mrgla...@apache.org > > Andrew Welch wrote on 11/12/2013 07:48:47 AM: > >> Hi, >>