aspose file tools
The moose likes XML and Related Technologies and the fly likes Two Schema questions Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


JavaRanch » Java Forums » Engineering » XML and Related Technologies
Reply Bookmark "Two Schema questions" Watch "Two Schema questions" New topic
Author

Two Schema questions

carl varola
Ranch Hand

Joined: May 16, 2002
Posts: 59
1-is the keyword "element" in "<xsd:element name=�red�/>" has to be small letter or it can be written as capital letters?
2- what is the deualt type of an element?is it string or anytype?what is anytype?
Thanks.
Balaji Loganathan
author and deputy
Bartender

Joined: Jul 13, 2001
Posts: 3150
Originally posted by carl varola:
1-is the keyword "element" in "<xsd:element name=�red�/>" has to be small letter or it can be written as capital letters?
2- what is the deualt type of an element?is it string or anytype?what is anytype?
Thanks.

1.It can written as capital letters and even mixed. but if you define xsd:element name="rEd" in your schema, then xml instance should have the element name as "rEd" and not Red or REd or rED etc.,......
One of the best tutorial to learn about XML schema is available at http://www.xfront.com/ , do read it, it will answer your all questions.


Spritle Software Blogs
 
I agree. Here's the link: http://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to run our stuff on 16 servers instead of 3.
 
subject: Two Schema questions
 
Similar Threads
validating xml against xml schema using xml spy
XML in Webservices
Splay Tree
java.io.IOException: Type {http://lang.java}Exception is referenced but not defined.
How to bind JAXB persistant objects to WS parameters?