Hello,
Could anyone with experience using AES-57 explain to me how to use the <dimensions> element
in <physicalProperties> correctly. I understand it is an abstract data type, but if I do not have an
element called <dimensions> it does not validate and I get this message "[Xerces] cvc-type.2: The
type definition cannot be abstract for element dimensions."
However, if I try to use any of the elements that <dimensions> is supposed to refer according to
the AES documentation, like <width>, I am told that "E [Xerces] cvc-complex-type.2.4.a: Invalid
content was found starting with element 'width'. One of
'{"http://www.aes.org/audioObject":dimensions}' is expected."
Finally if I try to nest <width> in <dimensions> (or anything else) I get yet another error "E
[Xerces] cvc-complex-type.2.1: Element 'dimensions' must have no character or element
information item [children], because the type's content type is empty."
I am using Oxygen to write the XML and I am also using the schema available from the library of
Congress http://www.aes.org/standards/schemas/aes57-2011-08-27.xsd . I cannot for the life of
me figure out what I am doing wrong.
The other possibility is the .xsd file. Is the problem that the "content type is empty" and that is a
schema problem? The content type needs to have some parameters defined? Someone with more
xml/schema experience might be able to figure it out. But when I look at the definition for the
complexType for "dimensions" , the line is open and closed before providing any content
definition:
<xsd:complexType name="baseDimensionsType" abstract="true"/>
(that is somewhere around line 100)
Could that be a problem? I hesitate to suggest that it is the schema but I cannot figure out what I
could be doing wrong. Any help would be much appreciated.
Thanks,
Derek Jackson
|