This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 176985 - No syntax highlighting for xjb files
Summary: No syntax highlighting for xjb files
Alias: None
Product: xml
Classification: Unclassified
Component: Code (show other bugs)
Version: 6.x
Hardware: PC Windows XP
: P3 normal with 2 votes (vote)
Assignee: Svata Dedic
Depends on:
Reported: 2009-11-17 04:51 UTC by Tim Lebedkov
Modified: 2011-10-27 09:12 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Note You need to log in before you can comment on or make changes to this bug.
Description Tim Lebedkov 2009-11-17 04:51:02 UTC
I have changed the mime type for .xjb files under Tools/Options/Miscellaneous/Files to application/xml but the editor does not highlight the syntax
Comment 1 Chlauklat 2010-08-31 14:02:11 UTC
Changing the mime type for xjb files to "text/xml-external-parsed-entity" fixed this issue for me using NB 6.9.1
Comment 2 puce 2011-03-03 11:12:10 UTC
xjb files are quite common and should be supported by default.
Comment 3 Svata Dedic 2011-10-26 13:45:38 UTC
Will add .xjb => text/x-jaxb-bindings+xml to default to XML highlighting & actions.
Comment 4 Svata Dedic 2011-10-27 09:12:28 UTC
Fixed in jet-main #4e1bd85657ce