Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

How can I ensure that an xsi:schemaLocation is serialized for my packages?

0
0 Posted

How can I ensure that an xsi:schemaLocation is serialized for my packages?

0
0

The save option XMLResource.OPTION_SCHEMA_LOCATION must be used to indicate that you want to serialize schema location information. Even when this option is used, the schema location is serialized only if the ePackage.getNsURI() is different from ePackage.eResource().getURI() to avoid useless schema locations of the form xsi:schemaLocation=”http://www.example.org/Xyz http://www.example.org/Xyz”.

Related Questions

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.

Experts123