Author Topic: Newb - How to restrict range?  (Read 437 times)

clamprey

  • EA Novice
  • *
  • Posts: 2
  • Karma: +0/-0
  • I love YaBB 1G - SP1!
    • View Profile
Newb - How to restrict range?
« on: November 12, 2006, 03:09:03 pm »
When using the UML Profile for XSD Schema, how do I represent a value (and subsequently generate the appropriate XSD values) that is restricted in its range and has one value that is of different type?  For example, I'd like to restrict a range to be either a short int from 0 through 255 or a '*' value.

Paolo F Cantoni

  • EA Guru
  • *****
  • Posts: 6214
  • Karma: +97/-88
  • Inconsistently correct systems DON'T EXIST!
    • View Profile
Re: Newb - How to restrict range?
« Reply #1 on: November 12, 2006, 03:36:51 pm »
I didn't think that was allowed under W3C specifications...

If it is, can you point me at the spec?

HTH,
Paolo
Inconsistently correct systems DON'T EXIST!
... Therefore, aim for consistency; in the expectation of achieving correctness....
-Semantica-
Helsinki Principle Rules!