[Mozile] Problem with path for rng
Gemstar
parliament23 at yahoo.com
Thu Nov 9 19:03:44 PST 2006
Thanks James,
I've got CVS installed and working now, what a cool tool, btw.
Unfortunately, I'm still having the same problem. For proof of concept I
put the clean Mozile folder directly from cvs onto the root directory of my
web server with no changes and opened basic.html. I get the same error
(Schema validation failed.. returned from the parsing operation: null).
I've gone back through the documentation to see if I'm missing some
configuration, but I don't see anything.
The paths in basic.html:
mozile.root = "../";
mozile.useSchema("lib/xhtml.rng");
I saw your notes about using core.js for development, thanks. I'll try
debugging in there to see if I can pinpoint it.
Thanks again,
Meg
James A. Overton wrote:
>
> Meg and everyone else,
>
> I've fixed the mozile.useSchema() problem and committed changes to
> CVS. While fixing the problem, I made a change to the way
> mozile.useSchema(path) calculates paths: relative paths are now
> relative to the mozile.root path, like the other path arguments in
> Mozile functions.
>
> This change will BREAK older configurations. All the Mozile tests and
> demos have been updated, but you will have to change the
> configurations any other files you've created. For example, in
> basic.html the code changes from
> mozile.useSchema("../lib/xhtml.rng");
> to
> mozile.useSchema("lib/xhtml.rng");
>
> Once that change is made, everything should work...
>
> James
> _______________________________________________
> Mozile mailing list
> Mozile at mozdev.org
> http://mozdev.org/mailman/listinfo/mozile
>
>
--
View this message in context: http://www.nabble.com/Problem-with-path-for-rng-tf1936466.html#a7270688
Sent from the MozDev - mozile mailing list archive at Nabble.com.
More information about the Mozile
mailing list