Writing without a DOM?

2009-06-01 Thread Windchime
I have a relatively large number of objects that I would like to serialize as XML. However, I don't want to build a DOM. Notably, a DOM for these objects requires a lot of memory. Is there another Xerces (SAX-ish?) way to create the XML? Thanks, Windy

RE: appinfo validation

2009-05-05 Thread Windchime
e their content. Thanks. [1] http://xerces.apache.org/xerces2-j/features.html#validate-annotations Michael Glavassevich XML Parser Development IBM Toronto Lab E-mail: mrgla...@ca.ibm.com E-mail: mrgla...@apache.org "Windchime" wrote on 05/04/2009 09:30:12 PM: > I am building a gra

appinfo validation

2009-05-04 Thread Windchime
I am building a grammar pool and validating xml instances. All of this works well except that the schema 'appinfo' elements are not getting laxly validated (that is, they don't seem to be validated at all). I can make this validate correctly by adding the XML Schema for Schema into the grammar po

PSVI type information

2008-07-02 Thread Windchime
I am trying to get the TypeInfo from an attribute (or element). Specifically, I want to do "isDerivedFrom(...)" Generally, I am building a grammar pool, and then doing "normalize-document()". This appears to be working well (getting schema validation errors when appropriate, can getElementById(),

RE: Avoiding DOM Reparse

2007-12-19 Thread Windchime
velopment > IBM Toronto Lab > E-mail: [EMAIL PROTECTED] > E-mail: [EMAIL PROTECTED] > > "Windchime" <[EMAIL PROTECTED]> wrote on 12/19/2007 02:28:48 PM: > > > Michael, > > > > Thanks, but how does this interact with the DOMLocator? Or is the > default

RE: Avoiding DOM Reparse

2007-12-19 Thread Windchime
ache.org/xerces2- > j/javadocs/api/org/w3c/dom/Node.html#getUserData(java.lang.String) > > Michael Glavassevich > XML Parser Development > IBM Toronto Lab > E-mail: [EMAIL PROTECTED] > E-mail: [EMAIL PROTECTED] > > "Windchime" <[EMAIL PROTECTED]> wrote

RE: Avoiding DOM Reparse

2007-12-19 Thread Windchime
/api/javax/xml/validation/Validator.html#validate(javax.xml.tran > sform.Source,%20javax.xml.transform.Result) > > Michael Glavassevich > XML Parser Development > IBM Toronto Lab > E-mail: [EMAIL PROTECTED] > E-mail: [EMAIL PROTECTED] > > "Windchime" <[EMAIL PROTECTED]&

Avoiding DOM Reparse

2007-12-11 Thread Windchime
I am reading lots of XML documents that need schema validation. However, I don't know what the schema (actually grammar pool) looks like until long after the documents are read. Finally, I want to have full access to the PSVI information. What I would like to know is, is there any way to perform