Anyone-

        Know of a way to ensure "sort order" of attributes on a
ConcreteElement?  I have this problem:

// Create a new 1.0 standalone XML document
XMLDocument doc = new XMLDocument(1.0, true);

which sometimes does:

<?xml version="1.0" standalone="yes"?>

and sometimes does:

<?xml standalone="yes" version="1.0"?>

The first is great, the second fails.  Not a legal XML declaration.  In
my XMLDocument, the version element is always added before the
standalone element, but they don't always come out in that order.  I
assume that an enumeration is being used somewhere along the line?

-Brett


--
------------------------------------------------------------
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