[Xml-compile] substitutionGroup

Mark Overmeer mark at overmeer.net
Tue Jun 25 11:30:35 GMT 2013


* Mark Hofstetter (mark.hofstetter at univie.ac.at) [130625 10:53]:
> I have a question regarding substitutionGroups

I love substitutionGroups.

> schemas used may be found at
> 
> http://tools.ietf.org/html/draft-arias-noguchi-dnrd-objects-mapping-03
> http://tools.ietf.org/html/draft-arias-noguchi-registry-data-escrow-06

Can you provide me with these schema files?

> {urn:ietf:params:xml:ns:rdeContact-1.0}contact
> because this turns out to be of type
> # is a xs:anyType
> "anything"

Weird.

> So my question is, is this
> 1. my fault

Probably ;-)

> 2. or is the scheme "wrong" ie you shouldn't do this with substituionGroups

substitutionGroups are not easy to use, but explicit. Much better than
'any' or xsi:type.
-- 
Regards,
               MarkOv

------------------------------------------------------------------------
       Mark Overmeer MSc                                MARKOV Solutions
       Mark at Overmeer.net                          solutions at overmeer.net
http://Mark.Overmeer.net                   http://solutions.overmeer.net




More information about the Xml-compile mailing list