Doug Chestnut wrote:
Hi Devs, I am in the process of trying to get a style attribute added to my core attributes in my xhtml schema for one of my publications.

Ok, no problem. I simply edit (or create if not there already) {mypubid}/lenya/modules/xhtml/resources/schemas/xhtml/modules/attribs.rng (since I might not want this change to all pubs)

and I would expect my pub to now allow a style attribute in xhtml elements that use core attributes.

I guess the problem is that the XHTML RNG schemas don't use the fallback
protocol for their includes. Would you mind trying this?

Thanks,
-- Andreas


The problem comes when an external (from client, bxe) module request comes in for: http://localhost:8888/fallback/lenya/modules/xhtml/resources/schemas/xhtml/modules/attribs.rng

Since there is no publication specified, bxe will always use the xhtml modules core schema.
It seems like the above url should be:
http://localhost:8888/{mypubid}/fallback/lenya/modules/xhtml/resources/schemas/xhtml/modules/attribs.rng

It also seems that we should be using this approach for our new modules uri space to reference modules resources and sitemaps.
http://localhost:8888/modules/{moduleid}/...
should be
http://localhost:8888/{mypubid}/modules/{moduleid}/...

WDYT?

--Doug


--
Andreas Hartmann
Wyona Inc.  -   Open Source Content Management   -   Apache Lenya
http://www.wyona.com                      http://lenya.apache.org
[EMAIL PROTECTED]                     [EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to