Skip to Content
0
Former Member
Jun 09, 2008 at 12:43 PM

XML Schema element missing when using Reference Schema Loader

99 Views

Hello MII-User,

the following effect causes problems when using the Reference Schema Loader with MII 12.0.2.

We are using B2MML-V0201-Material which comes with MII. The reference xsd contains

#xsd:schema xmlns="http://www.wbf.org/xml/b2mml-v0201" xmlns:xsd="http://www.w3.org/2001/XMLSchema"#

After loading the reference schema and setting "LoadAtRuntime=true", we assign it to an XML variable. The xml is created, however, the xmlns:xsd="http://www.w3.org/2001/XMLSchema" part is lost now. The xml file starts with:

#?xml version="1.0" encoding="UTF-8"?> http://www.wbf.org/xml/b2mml-v0201"#

The xml file is sent to an MES which displays the error "Reference to xmlns:xsd="http://www.w3.org/2001/XMLSchema" is missing".

Where do we go wrong? Is there only one attribute copied to the "MaterialInformation" node?

Thanks for comments.

Michael