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.
Summary: | I18N - err msg not from bundle in faces-cfg.xml | ||
---|---|---|---|
Product: | xml | Reporter: | kaa <kaa> |
Component: | Code | Assignee: | Sonali Kochar <sonali> |
Status: | RESOLVED WONTFIX | ||
Severity: | blocker | CC: | kfrank |
Priority: | P2 | Keywords: | I18N |
Version: | 6.x | ||
Hardware: | All | ||
OS: | All | ||
Issue Type: | DEFECT | Exception Reporter: | |
Attachments: |
err msg
faces-config.xml |
Description
kaa
2007-05-03 17:24:16 UTC
Created attachment 42116 [details]
err msg
I think this comes from xml editor, where checks are done against the schema. Reassigning to the xml editor for evaluation. I didnt see this bug after pasting the managed-bean content twice. Since I am not very familiar with JavaServerFaces, can you please attach your faces-config.xml? More details: 5. After step 4 choose Validate XML from pop-up menu The error message appears in Output window not from bundle file: Duplicate unique value [UserBean] declared for identity constraint of element "faces-config". [17] 6. Double click err link: Err message will be highlighted in editor with tooltip Created attachment 47203 [details]
faces-config.xml
The code gets an org.xml.sax.SAXParseException. This class is from the J2SE code base. We do SAXParseException.getLocalizedMessage() and then display the localized message. I looked at SAXParseException source code and they do not localize the exception message. Since the exception msg is from jdk, there isnt much we can do here. |