Empty xml tag
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-07-2024 06:03 AM
<ItemMaintenance>
<Batch>
<BathInfo>info</BathInfo>
<Item attr1="tekst" attr2="Tekst2">
<ItemId type="Type" id="id"/>
<Dates>
<Start>2023-11-09</Start>
<End>2024-01-02</End>
</Dates>
<MoreData>
More data
</MoreData>
</Item>
</Batch>
</ItemMaintenance>
Hello, I'm facing a problem with reading xml file via a new feature xml (auto) loader. Having similar structure and using rowTag as Item, reading is not done correctly. The data frame get only attributes, and the first line ItemID, further reading stops, although the tag is not closed and further there is still a lot of data. There are no errors, and does not say anything about incorrect operation. I tried different options for reading, removed attributes and so on. I used the native documentation https://docs.databricks.com/en/_extras/documents/native-xml-private-preview.pdf