While finishing up some schema validation stuff for wpkgExpress, I noticed
an error in profiles.xsd:
22 xsd:complexType name=profile
snip
26 xsd:sequence
27 xsd:choice minOccurs=0 maxOccurs=unbounded
28 xsd:element
What I think was happening was the schema validator (PHP5's schemaValidate
method in this case) was using the last choice XML node it found within
that sequence node. The reason I believe this is the case is because I had
profiles that were referencing packages (like they generally should), and