BOM is killing me
Having trouble installing Oxygen? Got a bug to report? Post it all here.
-
- Posts: 5
- Joined: Fri Aug 04, 2006 11:50 pm
BOM is killing me
"Could not associate XSD! Content is not allowed in prolog".
I am trying to associate a schema with a document. The above message is the result. From much googling, I gather that the schema (and possibly the doc) have a hidden first character, namely, a BOM. And in fact I've looked at the schema with a hex-editor, and discovered the dreaded ef bb bf. Changing the encoding to UTF-16 or iso-8859-1 doesn't fix it. If I remove the offending bytes in the hex editor, I just get gibberish. Same result from using a script to do same.
What to do? And could this have anything to do with the fact that I'm running on XP, editing files that reside on a Solaris box via sftp?
Any and all suggestions appreciated.
Thanks,
bom
I am trying to associate a schema with a document. The above message is the result. From much googling, I gather that the schema (and possibly the doc) have a hidden first character, namely, a BOM. And in fact I've looked at the schema with a hex-editor, and discovered the dreaded ef bb bf. Changing the encoding to UTF-16 or iso-8859-1 doesn't fix it. If I remove the offending bytes in the hex editor, I just get gibberish. Same result from using a script to do same.
What to do? And could this have anything to do with the fact that I'm running on XP, editing files that reside on a Solaris box via sftp?
Any and all suggestions appreciated.
Thanks,
bom
-
- Posts: 5
- Joined: Fri Aug 04, 2006 11:50 pm
-
- Posts: 5
- Joined: Fri Aug 04, 2006 11:50 pm
sorry folks
after more investigation, it seems to be the fault of my sftp program. We need to use secure ftp, which Oxygen doesn't support. I found what seemed a nifty solution, a program that lets one mount an sftp connection like a network drive; it seems to be the culprit, adding bytes (including BOM) along the way.
Sorry for the alarm. If anyone has a suggestion as to how to securely (i.e. over SSL) edit remote files, please chime in.
Thanks,
BOM
Sorry for the alarm. If anyone has a suggestion as to how to securely (i.e. over SSL) edit remote files, please chime in.
Thanks,
BOM
-
- Posts: 4141
- Joined: Fri Mar 28, 2003 2:12 pm
Post by sorin_ristache »
Hello,
In the current version (7.2) you can use WebDAV over HTTPS. The next version of oXygen will add SFTP support.
Regards,
Sorin
In the current version (7.2) you can use WebDAV over HTTPS. The next version of oXygen will add SFTP support.
Regards,
Sorin
Jump to
- Oxygen XML Editor/Author/Developer
- ↳ Feature Request
- ↳ Common Problems
- ↳ DITA (Editing and Publishing DITA Content)
- ↳ SDK-API, Frameworks - Document Types
- ↳ DocBook
- ↳ TEI
- ↳ XHTML
- ↳ Other Issues
- Oxygen XML Web Author
- ↳ Feature Request
- ↳ Common Problems
- Oxygen Content Fusion
- ↳ Feature Request
- ↳ Common Problems
- Oxygen JSON Editor
- ↳ Feature Request
- ↳ Common Problems
- Oxygen PDF Chemistry
- ↳ Feature Request
- ↳ Common Problems
- Oxygen Feedback
- ↳ Feature Request
- ↳ Common Problems
- Oxygen XML WebHelp
- ↳ Feature Request
- ↳ Common Problems
- XML
- ↳ General XML Questions
- ↳ XSLT and FOP
- ↳ XML Schemas
- ↳ XQuery
- NVDL
- ↳ General NVDL Issues
- ↳ oNVDL Related Issues
- XML Services Market
- ↳ Offer a Service