[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: Java NVDL implementation


Re:  Java NVDL implementation
bryan rasmussen wrote:

> Since the .Net NVDL implementation is a validatingReader what returns
> is XML, however that XML is the original input XML if valid, meaning
> that namespaces are not seperated, I don't find it problematic to
> handle myself but it does decrease the attractiveness of NVDL and I
> think others might find it a real problem.
> 
> Thus I'm really interested to hear if your implementation returns
> something other than the original xml.

My understanding of NVDL is that its main purpose is validation and 
JNVDL thus implements standard Java API for invoking validation. So when 
your document is valid, there is no return. If there are some errors (be 
it validation problem on NVDL level, or validation errors against 
particular schema referenced from NVDL) you get these errors (as 
exceptions, or you can register your own ErrorHandler to handle them on 
your own).

Of course, JNVDL internally does sectioning of input XML document and 
then dispatches these sections (fragments) for validation against 
particular schemas (you can monitor this process by using -d option on 
command line interface). So it is possible to create some API which can 
be used to read fragments and their schemas (because JNVDL knows this), 
but it is not big priority (at least now) for us.

			Jirka

-- 
------------------------------------------------------------------
   Jirka Kosek     e-mail: jirka@k...     http://www.kosek.cz
------------------------------------------------------------------
   Profesionální školení a poradenství v oblasti technologií XML.
      Podívejte se na náš nově spuštěný web http://DocBook.cz
        Podrobný přehled školení http://xmlguru.cz/skoleni/
------------------------------------------------------------------
                    Nejbližší termíny školení:
        ** DocBook 15.-17.5.2006 ** XSL-FO 12.-13.6.2006 **
     ** XSLT 23.-26.10.2006 ** XML schémata 13.-15.11.2006 **
------------------------------------------------------------------
   http://xmlguru.cz    Blog mostly about XML for English readers
------------------------------------------------------------------

S/MIME Cryptographic Signature


PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
 

Stylus Studio has published XML-DEV in RSS and ATOM formats, enabling users to easily subcribe to the list from their preferred news reader application.


Stylus Studio Sponsored Links are added links designed to provide related and additional information to the visitors of this website. they were not included by the author in the initial post. To view the content without the Sponsor Links please click here.

Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.