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

Summary: No syntax highlighting for xjb files
Product: xml Reporter: Tim Lebedkov <lebedkov>
Component: CodeAssignee: Svata Dedic <sdedic>
Status: RESOLVED FIXED    
Severity: normal    
Priority: P3    
Version: 6.x   
Hardware: PC   
OS: Windows XP   
Issue Type: DEFECT Exception Reporter:

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
+1
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