dev@glassfish.java.net

Re: Is this intentional

From: Davis Nguyen <Davis.Nguyen_at_Sun.COM>
Date: Fri, 27 Oct 2006 12:11:40 -0700

Good caught, Vince. I saw the problem and I was puzzled too.

vince kraemer wrote:

> I started to read through the domains.xml for a clustered V2 domain
> that I have on my machine and saw this...
>
> <!DOCTYPE domain PUBLIC
> "-//Sun Microsystems Inc.//DTD Application Server 8.0 Domain//EN"
> "http://www.sun.com/software/appserver/dtds/sun-domain_1_2.dtd">
>
> I was expecting it to say something like
>
> <!DOCTYPE domain PUBLIC
> "-//Sun Microsystems Inc.//DTD Application Server 9.1 Domain//EN"
> "http://www.sun.com/software/appserver/dtds/sun-domain_1_3.dtd">
>
> Why was my expectation incorrect?
>
> Is it unreasonable to assume that other users may be puzzled by this?
>
> Why I am asking:
>
> If the user is editing the domain.xml in an xml editor that supports
> code completion, we need to make sure that we identify the doctype of
> the file correctly and uniquely. Otherwise, the user will be unable
> to take advantage of newer features in the server, because their tools
> will help them avoid making a "mistake".
>
> Note: I know that folks should not edit domain.xml... People do. This
> same question applies to all of our files that are identified by a DTD
> or schema...
>
> Thanks,
> vbk
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe_at_glassfish.dev.java.net
> For additional commands, e-mail: dev-help_at_glassfish.dev.java.net
>
>