Copy link to clipboard
Copied
Copy link to clipboard
Copied
Hi Zhaopeng,
make sure the XML file is valid. If the XML parser has nothing to complain about there will be no log window.
- Michael
Copy link to clipboard
Copied
But When I test my xml in another tool. The xml file is valid. When I open the xml in structured framemaker. It will display the "FrameMaker log".But the last result (xml data+template) is correct.
According to the log file, I think FrameMaker is not find my dtd/xsd file.But In structure application define I have already defined all nessary info.I want to know why?
Copy link to clipboard
Copied
Zhaopeng,
I think you are correct... FrameMaker is unable to find your schema. You say that your structure application is set up, but something must be incorrect. Try this:
- In my experience with XML schema, I have had to define the noNamespaceSchemeLocation in my EDD for the highest-level element.
- If your XML file points to a schema location that is different than your structured application, the declaration in the XML file will take preference. It appears that the 'aoi' element does point to a schema location... make sure that the schema is actually at that location.
Russ
Copy link to clipboard
Copied
Russ:
You say that you have had to define the noNamespaceSchemeLocation in your EDD for the highest-level element. I try to modify my EDD.But I can't find the position where I insert the "noNamespaceSchemeLocation". Can you tell me how to insert the information? thank you.
Copy link to clipboard
Copied
Hi zhaopeng,
You would need to add it to the AttributeList section of the element definition. This is getting into some of the intricacies of EDD design... perhaps you might need to read up in the Structure Developer's Guide about this.
I should also say, though, that I don't know if one should have to do this. It is just something I ended up doing to get my schema to be read properly and to suppress errors.
Russ
Copy link to clipboard
Copied
Russ:
Thanks you!