Public bug reported: Zorba_SerializerOptions::SetSerializerOption() converts string parameter/value pairs to enumerated values. It perforce checks for all possible valid parameter names, and all valid values for each parameter. However, it silently ignores any invalid parameter names or values. This method is tied directly to the Zorba's -z (--serialization-parameter) command-line options, which means that any typos on the command line silently do nothing. eg,
zorba -q '1' -z undeclare-prefixes=foo reports no error; nor does zorba -q '1' -z indeclare-prefixes=yes ** Affects: zorba Importance: Medium Assignee: Chris Hillery (ceejatec) Status: New ** Changed in: zorba Assignee: (unassigned) => Chris Hillery (ceejatec) ** Changed in: zorba Importance: Undecided => Medium -- You received this bug notification because you are a member of Zorba Coders, which is the registrant for Zorba. https://bugs.launchpad.net/bugs/959079 Title: Zorba_SerializerOptions should not silently ignore invalid parameter values Status in Zorba - The XQuery Processor: New Bug description: Zorba_SerializerOptions::SetSerializerOption() converts string parameter/value pairs to enumerated values. It perforce checks for all possible valid parameter names, and all valid values for each parameter. However, it silently ignores any invalid parameter names or values. This method is tied directly to the Zorba's -z (--serialization-parameter) command-line options, which means that any typos on the command line silently do nothing. eg, zorba -q '1' -z undeclare-prefixes=foo reports no error; nor does zorba -q '1' -z indeclare-prefixes=yes To manage notifications about this bug go to: https://bugs.launchpad.net/zorba/+bug/959079/+subscriptions -- Mailing list: https://launchpad.net/~zorba-coders Post to : zorba-coders@lists.launchpad.net Unsubscribe : https://launchpad.net/~zorba-coders More help : https://help.launchpad.net/ListHelp