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
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
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
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(),
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
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
/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]&
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