H
hilz
Hi.
I have two xml files with the following roots:
<MyRootElement
xmlns="http://myURI"
xmlnsrefixA="http://URI_for_A"
xmlnsrefixB="http://URI_for_B"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://myURI http://myURI/mySchema.xsd"
prefixA:someAttribute="some value"
in another file, i have this:
<MyRootElement
xsi:schemaLocation="http://myURI http://myURI/mySchema.xsd"
prefixA:someAttribute="some value"
xmlns="http://myURI"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlnsrefixA="http://URI_for_A"
xmlnsrefixB="http://URI_for_B"
I know the first one is the correct one.
But my question is: is the second one wrong? does the order of the
attributes in the root element really matter?
Thanks
I have two xml files with the following roots:
<MyRootElement
xmlns="http://myURI"
xmlnsrefixA="http://URI_for_A"
xmlnsrefixB="http://URI_for_B"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://myURI http://myURI/mySchema.xsd"
prefixA:someAttribute="some value"
in another file, i have this:
<MyRootElement
xsi:schemaLocation="http://myURI http://myURI/mySchema.xsd"
prefixA:someAttribute="some value"
xmlns="http://myURI"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlnsrefixA="http://URI_for_A"
xmlnsrefixB="http://URI_for_B"
I know the first one is the correct one.
But my question is: is the second one wrong? does the order of the
attributes in the root element really matter?
Thanks