[jdom-interest] BUG: No attributes in new Elements
    Peter Franken 
    pfr at gmx.de
       
    Thu Feb  8 03:07:46 PST 2001
    
    
  
Ok, ok :-)
I added a method to strip the attributes from the DTD and add them to the
Element.
Now it works fine :-)
Peter
> > >The model is that JDOM ensures documents are well-formed at runtime,
> and
> > >will (sometime in the future) allow validity to be checked on request.
> > 
> > This means, even if I have no attributes for an element during creation,
> I
> > will find them with the same element as soon as I write and re-read the
> > XML. This makes the information inconsistent.
> 
> No more inconsistent than how turning validation on or off affects
> this.  :-)
> 
> -jh-
> 
-- 
à+ !
Peter
Sent through GMX FreeMail - http://www.gmx.net
    
    
More information about the jdom-interest
mailing list