[xml] Assembling of schemata using xsi



Hi,

the implementation of xsi:schemaLocation, xsi:noNamespaceSchemaLocation 
is on the way for the XML Schema validation engine, but there are some 
points to be confirmed by the list:

A context for validation driven by xsi will be created by using the 
existing function xmlSchemaNewValidCtxt(xmlSchemaPtr schema), called 
with NULL as @schema.

Assembling of schemata via xsi would need to be *either* explicitely 
switched on by setting an option (e.g. 
xmlSchemaValidCtxtSetOptions(ctxt, XML_SCHEMA_VAL_XSI_ASSEMBLE), *or* by 
changing the default behaviour to do so, i.e. one would need to 
explicitely switch *off* assembling via xsi - (this seems to be more 
intuitive, plus need not to be added to the FAQ ;-) )


What do you think?

By the way: there have been some requests for implementing PSVI - at 
least to handle default and fixed values. Implementing default/fixed 
will be top-priority now.

Greetings,

Kasimier




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]