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/8/2006 9:24:00 AM
Thanks, those points are good. I will consider them.

Cheers,
Bryan
On 5/8/06, Jirka Kosek <jirka@k...> wrote:
> bryan rasmussen wrote:
>
> > So if I tell them, well you can seperate your namespaces out very
> > easily this way, and send them to different processes, then the
> > natural response of the guy in charge on their side is, okay, once
> > I've seperated stuff out why don't I just send namespace a to schemas
> > for a and namespace b to schemas for b? What value do I get from NVDL.
>
> Simple separation of namespaces is not sufficient of validation. NVDL
> allows you to specify how different namespaces can be combined depending
> on context. In your scenario context (which I see as one of the most
> important feature of NVDL) is not taken into account.
>
> >> Do you have any idea how API that returns outcome of NVDL validation as
> >> validated streams your are talking about should look like? I still don't
> >> get it.
> >>
> > It does not actually have to be streams, I just got into talking
> > streams cause it seemed someone else was thinking specifically of
> > streams, perhaps this made things more difficult to communicate. But I
> > would suppose an api would expose something like the following:
> >
> > Nvdl.Instance.Namespaces - an array of namespaces
> > Nvdl.Instance.isValid(namespace) - boolean
> > Nvdl.Instance.validatedXml(namespace)
> >
> > no doubt there would be other things but with this then one could do,
> > as per following pseudocode
> > variable x;
> > for each namespace in Nvdl.Instance.Namespaces
> > if(Nvdl.Instance.isValid(namespace)==True){
> > x=Nvdl.Instance.validatedXml(namespace);
> > DoSomethingWithXml(x)
> > }
>
> Again, such model doesn't take context of XML fragments into account.
> After sectioning you can have multiple fragments from the same namespace
> (for example all SVG images extracted from XHTML page). I think that
> without context you can not reliably and meaningfully process such
> content.  Anyway NVDL model with separated sections is built during
> validation in JNVDL, so you can access it if you need it. If there will
> be more interest in such API, we can polish it little bit and made it
> public in future.
>
> Still I think that NVDL alone is not suitable for your task, but I can
> imagine that NVDL + XProc will handle it better.
>
>                        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