You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lenya.apache.org by Doug Chestnut <dh...@virginia.edu> on 2006/01/25 17:36:27 UTC
Re: svn commit: r372258 - /lenya/trunk/src/modules/xhtml/resources/schemas/xhtml.rng
Andreas,
I just noticed that you made this change yesterday. Sorry about the
hasty commit, should have asked first.
We could use context:// instead of fallback:// to get the homepage
schema to work.
Using the fallback adds the benefit of allowing one to tweak publication
specific schemas, instead of only being able to use the core schema. I
guess that this is currently broken due to the fallback/cache problem.
--Doug
chestnut@apache.org wrote:
> Author: chestnut
> Date: Wed Jan 25 08:23:23 2006
> New Revision: 372258
>
> URL: http://svn.apache.org/viewcvs?rev=372258&view=rev
> Log:
> relative include is broken when xhtml.rng is included in other .rng schemas (try to edit and save the homepage)
>
> Modified:
> lenya/trunk/src/modules/xhtml/resources/schemas/xhtml.rng
>
> Modified: lenya/trunk/src/modules/xhtml/resources/schemas/xhtml.rng
> URL: http://svn.apache.org/viewcvs/lenya/trunk/src/modules/xhtml/resources/schemas/xhtml.rng?rev=372258&r1=372257&r2=372258&view=diff
> ==============================================================================
> --- lenya/trunk/src/modules/xhtml/resources/schemas/xhtml.rng (original)
> +++ lenya/trunk/src/modules/xhtml/resources/schemas/xhtml.rng Wed Jan 25 08:23:23 2006
> @@ -37,7 +37,7 @@
> <include href="fallback://lenya/resources/schemas/lenya.rng"/>
>
> <!-- include original XHTML transitional schema -->
> -<include href="xhtml/xhtml-basic.rng">
> +<include href="fallback://lenya/modules/xhtml/resources/schemas/xhtml/xhtml-basic.rng">
>
> <define name="html">
> <element name="html">
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: commits-unsubscribe@lenya.apache.org
> For additional commands, e-mail: commits-help@lenya.apache.org
>
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lenya.apache.org
For additional commands, e-mail: dev-help@lenya.apache.org
Re: svn commit: r372258 - /lenya/trunk/src/modules/xhtml/resources/schemas/xhtml.rng
Posted by Andreas Hartmann <an...@apache.org>.
Doug Chestnut wrote:
> Andreas,
> I just noticed that you made this change yesterday. Sorry about the
> hasty commit, should have asked first.
No problem - if you spot a bug, why shouldn't you fix it? :)
I changed it because I couldn't get the schema to work first, but
then I found a generic solution (well, workaround) to serve schemas
including fallback references and forgot to update the schema in question.
I think your commit is fine, thanks for reporting!
-- Andreas
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lenya.apache.org
For additional commands, e-mail: dev-help@lenya.apache.org