xml-general mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Eric Ye <eri...@locus.apache.org>
Subject Re: schema loader
Date Sat, 25 Nov 2000 23:14:05 GMT
What you are asking is very much like the "compiled" grammar access feature,
there used to be some implementation to provide this for DTD, but as for the
Schema, I don't think
there is a sophiscticated implementation for this, although Xerces-J does
allow you to extract limited information from a compiled schema grammar, but
APIs are non-standard,  to use them requires knowledge of internal grammar
representation.

The standard api for this might be included in DOM Level 3 spec, here is a
very early stage draft:
http://www.w3.org/TR/DOM-Level-3-Content-Models-and-Load-Save/content-models
.html

Best regards
Eric


----- Original Message -----
From: "Jornei Augusto Vigo" <jornei@tecpar.br>
To: <general@xml.apache.org>
Sent: Saturday, November 25, 2000 3:09 PM
Subject: schema loader


> Hi all,
>
>   I'm searching how to load a schema to build a valid xml. I know that
> schema files are xml files, but I wanted something "standard compliant".
> What I need is something that loads my schema and provides me a way to
> navigate through his tree, giving methods for the schema attributes (like
> MaxRepetitions and stuff). This tree should be already "expanded"; i.e.,
not
> having complex-types.
>
> If this has been already answered, sorry. I just subcribed to the list.
>
> TIA
>
> Jornei
>
> ---------------------------------------------------------------------
> In case of troubles, e-mail:     webmaster@xml.apache.org
> To unsubscribe, e-mail:          general-unsubscribe@xml.apache.org
> For additional commands, e-mail: general-help@xml.apache.org
>
>


Mime
View raw message