Re: luxor DTD

Sam Terrell <[email protected]> Mon, 14 Jul 2003 13:44:01 -0400
Newsgroups gmane.comp.java.luxor-xul.user
Message-ID <[email protected]>
denis cardon wrote:
> Hi Sam,
> 
> 
> 
> 
> Could it be possible to handle this using namespace. I
> think that there could be a generic namespace for
> standard xul components and fancy namespace for custom
> components. This way it should be possible to at least
> check the standard xul correctness. Then if a
> packaging standard is defined for custom component,
> the luxor engine could know how to look for custom
> components DTD. What do you think about this?
> 
> Cheers,
> 
> Denis
> 

Sounds good to me, I hadn't thought about that.  Add some standard way 
of passing parameters to a custom component, and I think you'll be set 
to do just about anything :)  Perhaps the XML that is of another 
namespace will be passed to a parse function of an interface you are 
required to implement.  That would allow the most flexibility, but it 
would require those writting the GUI elements to do some work, and may 
hurt performance a bit to have several XML parsers running.  Maybe the 
DOM object could be passed instead.

Just some more to think about.

-Sam



-------------------------------------------------------
This SF.Net email sponsored by: Parasoft
Error proof Web apps, automate testing & more.
Download & eval WebKing and get a free book.
www.parasoft.com/bulletproofapps1