[prev in list] [next in list] [prev in thread] [next in thread] 

List:       xml-dev
Subject:    Re: [xml-dev] NVDL validator
From:       George Bina <george () oxygenxml ! com>
Date:       2018-10-31 11:00:59
Message-ID: b1b8a078-73c8-14c9-8c5d-fe736d89f98c () oxygenxml ! com
[Download RAW message or body]

Hi,

XML Schema validation from NVDL is supported by Jing, and it is based on 
Xerces, so make sure you have the Xerces library added to your classpath.

oNVDL was a fork of Jing where I implemented the initial NVDL support 
and then, when that was integrated back into Jing, the oNVDL become 
deprecated. Actually, it still contains another implementation for NVDL, 
one based on XSLT and XProc which should be interesting, at least in 
order to better understand how NVDL works - I presented that at XML 
Prague a some years ago:
http://archive.xmlprague.cz/2012/presentations/Understanding_NVDL.pdf

Best Regards,
George
--
George Cristian Bina
<oXygen/> XML Editor, Schema Editor and XSLT Editor/Debugger
http://www.oxygenxml.com

On 10/29/18 4:19 PM, wd@creativosdigitales.co wrote:
> Thank you John for reply__
> 
> __
> 
> I have a question: Which schema languages does Jing support?
> 
> I'm getting this message with a NVDL that includes only XSD schemas:
> 
> DIAN_UBL.xsd:2:599: fatal: no implementation available for schema 
> language with namespace URI "http://www.w3.org/2001/XMLSchema"
> 
> Cheers,
> 
>   * William
> 
> *From:*John Cowan <johnwcowan@gmail.com>
> *Sent:* domingo, 28 de octubre de 2018 1:11 p.m.
> *To:* wd@creativosdigitales.co
> *Cc:* xml-dev <xml-dev@lists.xml.org>
> *Subject:* Re: [xml-dev] NVDL validator
> 
> Jing autodetects which type of schema you are using (except for RELAX NG 
> compact syntax, which requires the -c option), so simply pass the schema 
> file as the first argument.   Note that Jing's implementation of NVDL 
> does not support sub-schemas that are DTDs.
> 
> On Sat, Oct 27, 2018 at 1:55 PM <wd@creativosdigitales.co 
> <mailto:wd@creativosdigitales.co>> wrote:
> 
>     Hi,
> 
>     Can someone guide me to an usable NVDL validator tool or library?
> 
>     I've been trying to use NVDL for validating customized UBL documents
>     with digital signature, but can't find a usable NVDL validation tool.
> 
>     Until now I tried these with these results:
> 
>       * JNVDL (java): works and is well documented, but cannot read UTF
>         files with BOM, and produces errors on valid documents
>       * oNVDL (java): website states that's no more supported, and it's
>         now included in jing-trang
>       * Jing-Trang (java): It ´s primary function is to validate Relax-NG
>         schemas, and it's not documented how to use it for NVDL
>       * Dotnet-dsdl (C#): Only supports XSD and Relax-NG as validation
>         languages and reports only one error at time.
> 
>     Thanks for all the guidance you can provide,
> 
>     *William David Velásquez*
>     *Creativo de Software*
>     Creativos Digitales S.A.S.
>     Calle 30A # 83 - 53 Local 1033
>     Tel: 322 1730 - 311 709 8421
>     Medellín, Colombia
> 
>     / ¿Necesita Integrar Sistemas? Conozca nuestra solución de
>     Integración no Invasiva: http://creativosdigitales.co
>     <http://creativosdigitales.co/>/
> 
>     //
> 
>     / ¿Preguntas sobre Facturación Electrónica? Visite:
>     http://facturasyrespuestas.com <http://facturasyrespuestas.com/>/
> 
>     /Síganos en Twitter @FacyRespuestas
>     <https://twitter.com/FacYRespuestas>/
> 

_______________________________________________________________________

XML-DEV is a publicly archived, unmoderated list hosted by OASIS
to support XML implementation and development. To minimize
spam in the archives, you must subscribe before posting.

[Un]Subscribe/change address: http://www.oasis-open.org/mlmanage/
Or unsubscribe: xml-dev-unsubscribe@lists.xml.org
subscribe: xml-dev-subscribe@lists.xml.org
List archive: http://lists.xml.org/archives/xml-dev/
List Guidelines: http://www.oasis-open.org/maillists/guidelines.php

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic