logo       

Re: Validate DOM document in memory using DOM level 3: msg#00027

text.xml.xerces-j.devel

Subject: Re: Validate DOM document in memory using DOM level 3

Hi Neil,
 
Thank you for your quick response.
 
Which method should I use for this kind of validation? normalizeDocument()?
 
Thanks,
Mike
 

Neil Delima <nddelima@xxxxxxxxxx> wrote:




Hi Mike,

See [1]

Mike Hao wrote on 08/25/2004 11:10:08 AM:

> I am trying to validate an in-memory DOM document using the DOM
> level 3 functionality. And I am following the instruction in this page:
>
> http://xml.apache.org/xerces2-j/faq-dom.html#domparser
>
> My questions are:
>
> 1. Do I have to create a LSParser?
Nope, it's not necessary to create an LSParser.

> 2. Which Document class should I use? The one in the dom3-xml-apis.jar
> or just the normal one?
org.w3c.dom.Document.

> 3. Where or How to get the APIs document of the DOM level 3
functionalities?
To build and access DOM Level 3 see [2].

[1] http://xml.apache.org/xerces2-j/faq-do m.html#faq-9
[2] http://xml.apache.org/xerces2-j/faq-dom.html#faq-6


---------------------------------------------------------------------
To unsubscribe, e-mail: xerces-j-dev-unsubscribe@xxxxxxxxxxxxxx
For additional commands, e-mail: xerces-j-dev-help@xxxxxxxxxxxxxx


Do you Yahoo!?
New and Improved Yahoo! Mail - Send 10MB messages!
<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise