[oXygen-user] olinkdb and target.db Problems

Chris Lilley
Tue Jan 3 08:27:10 CST 2006


On Thursday, December 29, 2005, 8:49:47 AM, George wrote:

GCB> [...] Probably your DTD does not define the elements that are
GCB> present in your expanded document thus you get validation errors.

GCB> I do not understand exactly against what DTD/schema you want your 
GCB> document to be valid. If a document is not valid against some DTD or 
GCB> schema you have two options: either correct the document to match the 
GCB> DTD/schema or change the DTD or schema to allow the content from your 
GCB> document.

Neither of those options are universally applicable.

Consider the common case where a DTD is used for infoset augmentation
(eg, declaring an attribute to be of type ID) or for entity declaration,
but is not intended to be used for validation.

GCB> In version 7 (we made available a beta a few days ago [1]) you should be
GCB> able to specify a Relax NG schema (using a PI inside the document, see 
GCB> the associate schema action in oXygen) and a DTD and configure oXygen to
GCB> ignore the DTD for validation if a schema is also specified, thus you 
GCB> will get Relax NG validation and entities support through the DTD but no
GCB> validation against the DTD will be performed.

Excellent.


-- 
 Chris Lilley                    mailto:
 Chair, W3C SVG Working Group
 W3C Graphics Activity Lead
 Co-Chair, W3C Hypertext CG




More information about the oXygen-user mailing list