Eclipse plugin and multiline messages
Having trouble installing Oxygen? Got a bug to report? Post it all here.
-
- Posts: 10
- Joined: Mon Sep 05, 2005 12:50 pm
Eclipse plugin and multiline messages
Hi.
xsl:messages are stored as problem in eclipse. That's nice.
But, if a message contains multiple lines, each line becomes a problem of itself. That's not so nice. Is it a bug or a feature?
The workaround is easy, though. Make sure the xsl:message template body generates a single line.
Regards,
Oliver
xsl:messages are stored as problem in eclipse. That's nice.
But, if a message contains multiple lines, each line becomes a problem of itself. That's not so nice. Is it a bug or a feature?
The workaround is easy, though. Make sure the xsl:message template body generates a single line.
Regards,
Oliver
-
- Site Admin
- Posts: 2095
- Joined: Thu Jan 09, 2003 2:58 pm
Hi Oliver,
The handling of xsl:message is not standardized at API level so each processor implements this differently. For instabce Xalan notifies the messages as warnings to the ErrorListener set on the transformer while Saxon writes the messages to a MessageEmiter. I suppose you are using Saxon - in this case we do not know the boundaries of messages but we know that a new message will be reported on a new line thus we present each line as a dufferent message entry.
Best Regards,
George
The handling of xsl:message is not standardized at API level so each processor implements this differently. For instabce Xalan notifies the messages as warnings to the ErrorListener set on the transformer while Saxon writes the messages to a MessageEmiter. I suppose you are using Saxon - in this case we do not know the boundaries of messages but we know that a new message will be reported on a new line thus we present each line as a dufferent message entry.
Best Regards,
George
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