RE: Validating CSV against XSD

2013-01-08 Thread David Lee
If you use a specific conversion of CSV to XML then convert your CSV file to XML then validate it using XSD David A. Lee d...@calldei.com http://www.xmlsh.org From: kamal kaur [mailto:kamal.k.k...@gmail.com] Sent: Tuesday, January

RE: XInclude and xml:lang

2012-10-10 Thread David Lee
I think you are confusing the effect of xml:base and xml:lang with actual instances of the attribute. The attributes xml:base and xml:lang do not get magically reproduced on all children, thus your xpath is correctly not finding xml:lang on child elements where it was not explicitly added. See

RE: XInclude and xml:lang

2012-10-09 Thread David Lee
On which element did you get xml:lang="" David A. Lee d...@calldei.com http://www.xmlsh.org -Original Message- From: polymorphisme [mailto:webmas...@polymorphisme.org] Sent: Tuesday, October 09, 2012 2:23 PM To: j-users@xerces.apache.org Subject:

Re: DOM thread safety issues & disapearring children

2011-07-19 Thread David Lee
You may want to consider other XML document Apis They may already do what you want with less effort Xom Saxon Stax ... Sent from my iPad (excuse the terseness) David A Lee d...@calldei.com On Jul 19, 2011, at 11:06 PM, "Newman, John W" wrote: > > Fair enough. I do realize there's almost ne

RE: Accessing a local schema file(s)

2011-07-18 Thread David Lee
When using http://apache.org/xml/properties/schema/external-schemaLocation I have found I need to use space seperate "URI XSD" like "schema-uri file-uri schema-uri file-uri" Here's some code from xsdvalidate http://www.xmlsh.org/CommandXsdvalidate if( mSchemaList != null ) {

RE: DOM thread safety issues & disapearring children

2011-06-09 Thread David Lee
- > 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? "it depends" on the implementation. One can write thread-safe code and one can

RE: DOM thread safety issues & disapearring children

2011-06-09 Thread David Lee
So in some implementations of any class ... 'read' methods may or may not be thread safe depending on the implementation. David A. Lee d...@calldei.com http://www.xmlsh.org -Original Message- From: David Lee [mailto:d...@calldei.com] Sent: T

RE: DOM thread safety issues & disapearring children

2011-06-09 Thread David Lee
ndrew.j.we...@gmail.com] Sent: Thursday, June 09, 2011 6:39 AM To: j-users@xerces.apache.org Cc: muk...@apache.org Subject: Re: DOM thread safety issues & disapearring children On 9 June 2011 10:57, David Lee wrote: > Along this lines, there are thread save read-only XML tree models availa

RE: DOM thread safety issues & disapearring children

2011-06-09 Thread David Lee
Along this lines, there are thread save read-only XML tree models available, just not DOM. Saxon's tree model is thread safe during read operations. I believe XOM is as well (not 100%). David A. Lee d...@calldei.com http://www.xmlsh.org -Original

RE: Transforming the stream of SAX events

2010-11-23 Thread David Lee
I suggest StAX instead of SAX for this kind of transformation. It provides both reader and writer API's so can be used for both parsing and generation/serialization. David A. Lee d...@calldei.com http://www.xmlsh.org -Original Message- From: Dawid