Home. 
.

transparent

transparent

transparent

Altova Mailing List Archives


Re: [xml-dev] Java NVDL implementation

From: Jirka Kosek <jirka@-----.-->
To: bryan rasmussen <rasmussen.bryan@-----.--->
Date: 5/7/2006 3:16:00 PM
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&aacute;ln&iacute; &scaron;kolen&iacute; a poradenstv&iacute; v oblasti technologi&iacute; XML.
      Pod&iacute;vejte se na n&aacute;&scaron; nov&ecaron; spu&scaron;t&ecaron;n&yacute; web http://DocBook.cz
        Podrobn&yacute; p&rcaron;ehled &scaron;kolen&iacute; http://xmlguru.cz/skoleni/
------------------------------------------------------------------
                    Nejbli&zcaron;&scaron;&iacute; term&iacute;ny &scaron;kolen&iacute;:
        ** DocBook 15.-17.5.2006 ** XSL-FO 12.-13.6.2006 **
     ** XSLT 23.-26.10.2006 ** XML sch&eacute;mata 13.-15.11.2006 **
------------------------------------------------------------------
   http://xmlguru.cz    Blog mostly about XML for English readers
------------------------------------------------------------------


S/MIME Cryptographic Signature


transparent
Print
Mail
Like It
Disclaimer
.

These Archives are provided for informational purposes only and have been generated directly from the Altova mailing list archive system and are comprised of the lists set forth on www.altova.com/list/index.html. Therefore, Altova does not warrant or guarantee the accuracy, reliability, completeness, usefulness, non-infringement of intellectual property rights, or quality of any content on the Altova Mailing List Archive(s), regardless of who originates that content. You expressly understand and agree that you bear all risks associated with using or relying on that content. Altova will not be liable or responsible in any way for any content posted including, but not limited to, any errors or omissions in content, or for any losses or damage of any kind incurred as a result of the use of or reliance on any content. This disclaimer and limitation on liability is in addition to the disclaimers and limitations contained in the Website Terms of Use and elsewhere on the site.

.
.

transparent

transparent