Trading API schema has errors since version 1255
Parsing the Trading API xsd schema hasn't worked since prior to 1255 without edits.
current fixes for 1295 (3 total) to remove errors:
(split across multiple posts to try to isolate anything setting off spam flags making my posts disappear)
8 comments
xenodeals
·8 months agoStill problems, trivial to work around but.. Filed yet another case about this.
five_notch_trading_post
OP3 years agoError 2:
>XMLSchemaKeyError: "global xs:simpleType/xs:complexType '{ebayxmlurn_REMOVED}RecommendationsType' not found"
>XMLSchemaParseError: unknown type 'ns:RecommendationsType':
>XMLSchemaParseError: element decl. '{ebayxmlurn_REMOVED}Recommendations', attribute 'type': The QName value '{ebayxmlurn_REMOVED}RecommendationsType' does not resolve to a(n) type definition., line 48844
FIX:
field is deprecated, so shouldn't be using anyway
Remove lines 48842-48853
five_notch_trading_post
OP3 years ago^ part above is what to remove
five_notch_trading_post
OP3 years agoError 3:
>XMLSchemaParseError: unknown type 'ns:StoreItemListSortOrderCodeType':
>XMLSchemaParseError: element decl. '{ebayxmlurn_REMOVED}SearchSortOrder', attribute 'type': The QName value '{ebayxmlurn_REMOVED}StoreItemListSortOrderCodeType' does not resolve to a(n) type definition.
FIX:
Still listed as a valid optional field in the 1295 docs. Find the definition from an earlier xsd version (try 1249) and paste it in to 1295:
Place between the definitions of
##### from file eBLBaseComponents/public/StoreInventoryEnabledDefinitionType.xsd #####
##### from file eBLBaseComponents/public/StoreLogoType.xsd #####
as lines 102617-102684
five_notch_trading_post
OP3 years agoResults should look kind of like:
five_notch_trading_post
OP3 years agoVersion 1299 update:
Error 3 has been resolved, StoreItemListSortOrderCodeType has been restored.
Errors 1 & 2 still exist though making the schema invalid to parse. maxOccur -> maxOccurs, and cleaning up of name="Recommendations" type="ns:RecommendationsType" (or adding a ns:RecommendationsType back in.)
five_notch_trading_post
OP3 years agoError 1:
>XMLSchemaParseError: Element '{W3_URL_REMOVED}element': The attribute 'maxOccur' is not allowed., line 49224
>XMLSchemaParseError: attribute 'maxOccur' not allowed:
FIX:
change maxOccur to maxOccurs
five_notch_trading_post
OP3 years agoError 1:
>XMLSchemaParseError: Element '{W3_URL_REMOVED}element': The attribute 'maxOccur' is not allowed., line 49224
>XMLSchemaParseError: attribute 'maxOccur' not allowed:
FIX:
change maxOccur to maxOccurs
Error 2:
>XMLSchemaKeyError: "global xs:simpleType/xs:complexType '{ebayxmlurn_REMOVED}RecommendationsType' not found"
>XMLSchemaParseError: unknown type 'ns:RecommendationsType':
>XMLSchemaParseError: element decl. '{ebayxmlurn_REMOVED}Recommendations', attribute 'type': The QName value '{ebayxmlurn_REMOVED}RecommendationsType' does not resolve to a(n) type definition., line 48844
FIX:
field is deprecated, so shouldn't be using anyway
Remove lines 48842-48853