Brett McLaughlin wrote:

> jon * wrote:
> >
> > on 12/21/99 11:50 AM, Brett McLaughlin <[EMAIL PROTECTED]> wrote:
> >
> > > Know of a way to ensure "sort order" of attributes on a
> > > ConcreteElement?  I have this problem:
> >
> > Arg. I don't think that it is possible. With HTML it wasn't an issue so I
> > don't believe that we thought of adding this because of the overhead
> > involved with tracking the order.
>
> <lazy>
> Where does the actual output of the attributes occur (classwise)?  I
> don't want to dig through all that...
> </lazy>

output in ElementAttributes ( would be my guess, without actually
looking at
the code. ) Yes it is possible to do but it adds overhead that I don't
want, I
think the better solution is inventing a new storage mechansim.

>
>
> <but-can-fix>
> This really is only important in Process Instructions... what are your
> thoughts on adding a instanceof check at output, and if it is an
> instance of PI.java, don't turn into an enumeration, but instead
> manually iterate?
> </but-can-fix>

No! override createStartTag() in the PI element.

-stephan




--
------------------------------------------------------------
To subscribe:        [EMAIL PROTECTED]
To unsubscribe:      [EMAIL PROTECTED]
Archives and Other:  <http://java.apache.org/main/mail.html>
Problems?:           [EMAIL PROTECTED]

Reply via email to