Hi Folks,

Today, I learned that in the below snippet, the dfdl:encoding assigned on the 
<csv> element only applies to the <csv> element, not to its children.

<xs:element name="csv" dfdl:encoding="{$fieldencoding}">

What is the general rule? Is it: Any property assigned on an element 
declaration applies only to the element and not to its children? But, but, but, 
... a dfdl:separator property assigned on a <xs:sequence> element applies to 
the children of xs:sequence. Wow, this is confusing. Sometimes the properties 
assigned on an XML Schema item is inherited by the item's children, sometimes 
not. Isn't that confusing?

/Roger

Reply via email to