Quantcast
Channel: SCN : Discussion List - SAP HANA Developer Center
Viewing all articles
Browse latest Browse all 6412

hanatrial and "enable OData4SAP;" gives invalid XML for $metadata as the sap prefix is not declared

$
0
0

I have in my CDS file an entity with an atribute of type LocalDate. If I publish this with xsodata inlcluding"enable OData4SAP;" in the $metadata document the sap prefix is not declared, but used in sap:display-format="Date" , which makes XML validation fail with "Namespace prefix sap for display-format on Property is not defined".

 

Any ideas to work around this instead of not using "enable OData4SAP;"?


Viewing all articles
Browse latest Browse all 6412

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>