Home. 
.

transparent

transparent

transparent

Altova Mailing List Archives


Re: [xml-dev] Java NVDL implementation

From: "bryan rasmussen" <rasmussen.bryan@-----.--->
To: "Jirka Kosek" <jirka@-----.-->
Date: 5/7/2006 6:57:00 AM
The other version NVDL implementation in its current version does
support XML Schema, at any rate I have compiled a version of it that
does, there were some problems getting it to work but Atsushi Eno the
implementer was very helpful.

One question I have about this implementation is: what returns at the
end of an NVDL validation?

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.

Couldn't find anything in the spec saying what should be returned by a
validation, but I may have overlooked things.

Cheers,
Bryan Rasmussen
On 5/6/06, Jirka Kosek <jirka@k...> wrote:
> Chiusano Joseph wrote:
>
> > I understand that there were some issues in the past regarding some
> > NVDL implementation supporting W3C Schema (I don't recall which one,
> > assuming that there are more than one). Can you please confirm that
> > your implementation fully supports W3C Schema, in addition to RNG?
>
> JNVDL just creates fragments from validated document and these fragments
> are then passed to respective validators for validation against specific
> schema (be it WXS, RNG, or whatever else). JNVDL uses standard JAXP 1.3
> validation API, so any validator which supports this API can be used for
> WXS validation.
>
> By default JNVDL uses MSV library for validation, but distribution also
> contains sample batch file (jnvdl-xerces.bat) which changes WXS
> validator from MSV to Xerces just by changing one Java property. So if
> Xerces is enough for you, or you have even better WXS validator then
> Xerces, you can use it very easily with JNVDL.
>
>                         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
> ------------------------------------------------------------------
>
>
>
>


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