|
[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] RE: Validating schema vs. non validating schema
<length length-uom="mm">200</length> It means I think that it is redundant, But that is relative to several issues. The question is, how much validation do you need by structure from the parser? The GI tells you it is a length. Does your app need to know it? If so, then sure, different attributes work just fine. There are several alternatives and one is to pack the information into the att name (a morph solution) as you have done. What kind of schema do you want to use and how do you want to express constraints? len -----Original Message----- From: Krakow Patrice [mailto:Patrice.Krakow@S...] Hello, Yes, imagine something like <length length-uom="mm">200</length> Did you reply that you prefer <length uom="..."> <weight uom="..."> ? If yes, it means that you do not care to a "length" measured in "kg"? -----Original Message----- From: Krakow Patrice [mailto:Patrice.Krakow@S...] What do you prefer? <length length-uom="..."> <weight weight-uom="..."> where length-uom=m|mm and weight-uom=kg|g
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|
|||||||||

Cart








