You are viewing a plain text version of this content. The canonical link for it is here.
Posted to j-dev@xerces.apache.org by Vassil Peytchev <vd...@bobson.net> on 2000/12/22 05:48:22 UTC
XGrammarWriter
Hello,
I realize that XGrammarWriter uses the schema features of Xerces, which
are currently being converted to the CR spec, but I was annoyed to find
that the version which is part of the distribution is broken for DTDs.
Since I needed to transform some DTDs in a slightly different format, I
tried to update org.apache.xerces.domx.XGrammarWriter to work with
Xerces 1.2.3 (I suspect it will work with 1.2.1 and 1.2.2 as well).
Please note that I have almost no clue of the W3C schema spec, so the
changes I made are mostly empirical, and it is very likely that some of
the more intricate uses of DTDs and Schemas won't work.
You can get the changed version of XGrammarWriter at
http://www.bobson.net/vassil/xgw.gz
Hopefully it will be helpful to someone.
--Vassil
Re: XGrammarWriter
Posted by Vassil Peytchev <vd...@bobson.net>.
I fixed another bug, which was preventing anything with content model of
+ to be correctly shown in the DTD output of
org.apache.xerces.domx.XGrammarWriter. The fixed version is available at
http://www.bobson.net/vassil/XGrammarWriter.java.gz
Have an excellent and successful New Year / New Millennium everyone!
--Vassil
Vassil Peytchev wrote:
>
> Hello,
>
> I realize that XGrammarWriter uses the schema features of Xerces, which
> are currently being converted to the CR spec, but I was annoyed to find
> that the version which is part of the distribution is broken for DTDs.
>
> Since I needed to transform some DTDs in a slightly different format, I
> tried to update org.apache.xerces.domx.XGrammarWriter to work with
> Xerces 1.2.3 (I suspect it will work with 1.2.1 and 1.2.2 as well).
> Please note that I have almost no clue of the W3C schema spec, so the
> changes I made are mostly empirical, and it is very likely that some of
> the more intricate uses of DTDs and Schemas won't work.
>
> You can get the changed version of XGrammarWriter at
> http://www.bobson.net/vassil/xgw.gz
>
> Hopefully it will be helpful to someone.
>
> --Vassil
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: xerces-j-dev-unsubscribe@xml.apache.org
> For additional commands, e-mail: xerces-j-dev-help@xml.apache.org