A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
XML and Related Technologies
Basic question on XML Naming conventions
Joined: Dec 08, 2007
Sep 27, 2010 11:48:16
It is said that element names cannot start with the
"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~
Author and all-around good cowpoke
Joined: Mar 22, 2000
Sep 27, 2010 13:45:56
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
XML loading - not getting refreshed
error with vallidator plug-in
How to title an XML document with CSS?
Printing XML document
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014