[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] RE: Validate **against** a schema OR validate **with** a schem
At 2009-01-22 17:53 -0600, Len wrote: >Augmentation (defaulting from the DTD) tightly binds DTDs to instances. True, that is one aspect of augmentation, but I wasn't referring to that aspect. At 2009-01-22 22:14 +0900, I wrote: >At 2009-01-22 07:26 -0500, Costello, Roger L. wrote: >>2. I validated the XML instance document with the schema. > >... when I'm using validation to augment my XML with type >information from the schema on my way in to my stylesheet or application. I specifically and carefully referred to the type information ... this is so that the PSVI can be processed by my stylesheet, not the text. If I've written a schema-aware stylesheet that needs to respond to the supplied type of a UBL extension element under the extension point then I need to augment my source tree with type information by validating my document with a schema. Otherwise I may have difficulty recognizing the extension. At 2009-01-22 17:53 -0600, Len wrote: >I think there is healthy consensus tight binding of DTDs to >instances is a bad idea. I totally agree. And the same goes for any defaulted content as W3C Schema offers more kinds of defaulted content than DTDs. I hope this helps. . . . . . . . . Ken -- Upcoming XSLT/XSL-FO, UBL and code list hands-on training classes: : Sydney, AU 2009-01/02; Brussels, BE 2009-03; Prague, CZ 2009-03 Training tools: Comprehensive interactive XSLT/XPath 1.0/2.0 video Video lesson: http://www.youtube.com/watch?v=PrNjJCh7Ppg&fmt=18 Video overview: http://www.youtube.com/watch?v=VTiodiij6gE&fmt=18 G. Ken Holman mailto:gkholman@C... Crane Softwrights Ltd. http://www.CraneSoftwrights.com/x/ Male Cancer Awareness Nov'07 http://www.CraneSoftwrights.com/x/bc Legal business disclaimers: http://www.CraneSoftwrights.com/legal
[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] |
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
|