• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
  • Campbell Ritchie
  • Devaka Cooray
  • Liutauras Vilda
  • Jeanne Boyarsky
  • Bear Bibeault
  • Paul Clapham
  • Knute Snortum
  • Rob Spoor
Saloon Keepers:
  • Tim Moores
  • Ron McLeod
  • Piet Souris
  • Stephan van Hulst
  • Carey Brown
  • Tim Holloway
  • Frits Walraven
  • Ganesh Patekar

A question about namespace definition of an XSD document.

Ranch Hand
Posts: 551
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thank you for reading my post.
Can some one please let me know whether I am correct about the following code snippet?

If we cound the link from 1 to 4 am I correct that
Line 1: define the XS namespace url to be able to use the xs prefix
Line 2: define that the XML document which will use this xsd should have shapes as its default xml namespace.
Line 3: default namespace of this document elements
line 4: I can not understand this line and why we should have both this line and line 2 and 3 or its relation with those lines

Can you please let me know which lines are manedatory and If I am mistaken with the line, what is the meaning of each line?

It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!