- pr_req->preferredRecordSyntax
- = yaz_oidval_to_z3950oid(odr_en, CLASS_RECSYN, *backend_syntax);
- else
- pr_req->preferredRecordSyntax
- = yaz_oidval_to_z3950oid(odr_en, CLASS_RECSYN, VAL_NONE);
-
- //pr_req->preferredRecordSyntax
- // = yaz_oidval_to_z3950oid (odr_en, CLASS_RECSYN, VAL_TEXT_XML);
-
-
- //Odr_oid odr_oid;
- // = yaz_oidval_to_z3950oid (odr_en, CLASS_RECSYN, VAL_TEXT_XML);
- // }
- // Odr_oid *yaz_str_to_z3950oid (ODR o, int oid_class,
- // const char *str);
- // const char *yaz_z3950oid_to_str (Odr_oid *oid, int *oid_class);
-
- // oident *oident_syntax = oid_getentbyoid(backend_syntax);
- //
- // rr->request_format_raw = backend_syntax;
- //
- // if (oident_syntax)
- // rr->request_format = oident_syntax->value;
- // else
- // rr->request_format = VAL_NONE;
-
-
-
+ pr_req->preferredRecordSyntax = backend_syntax;
+ else
+ pr_req->preferredRecordSyntax
+ = yaz_oidval_to_z3950oid(odr_en, CLASS_RECSYN, VAL_NONE);
+