| Author |
Basic question on XML Naming conventions
|
Anuradha Karunamuni
Ranch Hand
Joined: Dec 08, 2007
Posts: 64
|
|
It is said that element names cannot start with the string "xml" (or "XML", "Xml", etc). If an instance violates this rule, does it give an error when trying to parse the xml document?
I intentionally violated the rule and tried opening the xml document using the browser and it did not give me any error.
Browser : Internet Explorer 6.0
Someone please enlighten me.
|
"Simplicity is the ultimate sophistication..." ~Leonardo da Vinci~
SCJP 1.4
|
 |
William Brogden
Author and all-around good cowpoke
Rancher
Joined: Mar 22, 2000
Posts: 12324
|
|
Browsers are notoriously lax about tags. Try the standard Java library and report back to the class.
Bill
|
Java Resources at www.wbrogden.com
|
 |
 |
|
|
subject: Basic question on XML Naming conventions
|
|
|