aspose file tools*
The moose likes XML and Related Technologies and the fly likes Basic question on XML Naming conventions Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » XML and Related Technologies
Bookmark "Basic question on XML Naming conventions" Watch "Basic question on XML Naming conventions" New topic

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

Joined: Mar 22, 2000
Posts: 12678
Browsers are notoriously lax about tags. Try the standard Java library and report back to the class.


Java Resources at
I agree. Here's the link:
subject: Basic question on XML Naming conventions
Similar Threads
XML loading - not getting refreshed
Validating browsers
error with vallidator plug-in
How to title an XML document with CSS?
Printing XML document