[Mono-list] mono-xmltool and relaxng compact include
Atsushi Eno
atsushi at ximian.com
Thu Dec 27 05:31:23 EST 2007
Hello,
Yeah, the behavior was almost wrong and it should resolve the
included grammars based on the including grammar, not based on
the executable path. I've checked in a fix in mcs (both mono-xmltool
and Commons.Xml.Relaxng.dll).
Actually the change was not small and it was enough to force me
some public API addition.
Atsushi Eno
Travis Staloch wrote:
>
> Atsushi,
>
> I was able to build mono and to validate my simple.xml document (yeah!)
> with an include. But rather than using a relative URI (ie
> include"Simple.rnc"), I had to use an absolute URI to get the validation
> to work. The relative URI was evaluated against the entry assembly's
> directory instead of the directory where the including .rnc file was
> located. Could you comment on whether this is the desired behavior?
> From a users point of view, it would be nice if I didn't have to
> specify the absolute URI incase I move the project elsewhere in the
> future.
>
> Thanks,
>
> Travis
>
> ----- Original Message ----
> From: Atsushi Eno <atsushi at ximian.com>
> To: Travis Staloch <twostepted at yahoo.com>
> Cc: mono-list at ximian.com
> Sent: Monday, December 17, 2007 11:27:49 PM
> Subject: Re: [Mono-list] mono-xmltool and relaxng compact include
>
> In trunk/mcs/class. But without full set of sources you won't be
> able to build it correctly.
>
> Atsushi Eno
>
> Travis Staloch wrote:
> >
> > Atsushi,
> >
> > > The fix is in svn and now it should successfully validates.
> >
> > Where in svn can I find the Commons.Xml.Relaxng sources?
> >
> > Regards,
> >
> > Travis
> >
> >
> > Never miss a thing. Make Yahoo your homepage.
> > <http://us.rd.yahoo.com/evt=51438/*http://www.yahoo.com/r/hs>
> >
> >
> > ------------------------------------------------------------------------
> >
> > _______________________________________________
> > Mono-list maillist - Mono-list at lists.ximian.com
> <mailto:Mono-list at lists.ximian.com>
> > http://lists.ximian.com/mailman/listinfo/mono-list
>
>
>
> Never miss a thing. Make Yahoo your homepage.
> <http://us.rd.yahoo.com/evt=51438/*http://www.yahoo.com/r/hs>
>
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> Mono-list maillist - Mono-list at lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-list
More information about the Mono-list
mailing list