I recently submitted my Arbortext Editor file to our stylesheet guru (as I don't have the software to run the stylesheet.) He's made some changes, but now when I open the file, I am getting several error messages stating "unknown element in start tag". This is for over 30 elements that should be standard (docwp, wpno, alist ...etc.) How do I resolve? Sorry if this is a basic question - very new to this software. Thanks!
Have you checked that the stylesheet validates in an XML editor? Did anyone edit the stylesheet in a text editor or copy/paste code into source code edits?
I would look at the stylesheet code in a text editor and look for anything that seems irregular. Sounds to me like something was pasted in or a piece of code was entered directly rather than through Styler.
I am using the default stylesheet in the Program Files. I don't believe the default stylesheet has been edited.
Sorry, I assumed that since you sent to your stylesheet guru that you were making stylesheet changes.
Does it tell you which tag is having the problem? You should be able to click on the message and Editor will jump to that position.
A bit confusing, I know.
I have an external vendor who uses the sgml file I am generating via Arbortext editor and associates it with a stylesheet. He creates a PDF and returns the sgml file (text), which I open in Arbortext Editor and continue to edit, as we get new information and change requests from the government customer. He doesn't use Arbortext Editor so can't answer my questions.
Since I dont have access to the stylesheet, I use the default for editing. Would you be willing to look at my default stylesheet and see if there is anything you view as unusual?
As far as the errors - i have about 30 tags that are showing up as unknown elements. Until I can correct the errors, I can't continue to edit in AE.
From your original post, it looks like the file was working before and is now giving errors after changes were made.
Do you know the nature of the changes? Were they to the SGML itself? Can you provide a screen capture of the messages that Editor is generating?
You have an SGML file that you sent to an external resource. He changed the SGML and created at PDF and sent you back the now edited SGML file and the PDF?
To me, it sounds like he used an editor that doesn't actually preserve the SGML and introduced a lot of stuff that Arbortext, looking for pure SGML, doesn't understand. You might ask your external resource what he used to edit the original file that you sent to him.
Let us know what you find out.
Ok.. Here's something to test:
Open the file in Notepad or Notepad++ or TextPad.
See if any of the angle brackets have been turned into their xml-friendly equivalents (e.g., "<" to "<")
Check, also, the Doctype declaration at the top. Open a file that you know is OK and do a visual compare. Sounds to me as if there's something wrong with the document somewhere..