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.
Please see attached image file. i18n - XML and DTD files can not handle full-size alphanumeric character. How to reproduce 1.file-->new-->select XML with DTD or DTD Entity. 2.Push Next button. step2 dialog is displayed. 3.Push Finish button. Crated xml file or dtd file. 4.Right click on the files, select "Edit". Source Editer is displayed. 5.Add full-size alphanumeric character (not Japanese) on Source Editer. 6.It saved the files. 7."Parse fatal error..." is displayed on Explorer. OS:Windows2000 (Japanese),Solaris8 SPARC Build No:010810 JDK:JDK1.3.1 Locale:ja
Created attachment 2206 [details] screen shot
Hello Masafumi, could you attach zipped XML documents that produced bugs you attached as the screen shot? Please zip it to avoid some unintentional conversions. Thanks
Created attachment 2468 [details] I attached zipped XML documents.
According to spec http://www.w3.org/TR/REC-xml#NT-doctypedecl DOCTYPE declaration must be followed by Name consisting of NameChars. 0xFF11, 0xFF12, and 0xFF13 are not valid NameCharacters. It is according to the spec a fatal error and it is reported so.
Going to patch it, no invalid document created form template is allowed.
If invalid XMLName appears as file name it is automatically replaced by valid "root" in document content.
Hi Petr, In the following environment, same error is reappears as the first comment in this page. Solaris8 on Sparc, JDK 1.3.1, ja locale. NetBeans IDE, Release 3.3 Beta 6 (Build 200111271845) Please make it confirm it one more time, or please tell me the process not to make it reappears. Thank you. - Hiroshi
Could you specify XML module version? If in doubt autoupdate XML module Beta1 from NetBeans Update Center. REOPEN if it appears there.
I installed "XML Beta1 Modules", and I verified my test environment carefully. But, this problem was reproduced. Please investigate again.
Petr, look at TreeUtilities, if there is not too aggressive (and wrong) check method.
I still can not reproduce it. Are not there in your system some old XML templates? Try to use IDE with empty user dir by starting it with -userdir nonexisting_directory_name switch. Are you able to reproduce it for another invalid XML names e.g. "123"?
I agree with your modification. Though I was sorry, it was in confusion.
Consistent use of the I18N keyword.
Resolved for 3.4.x or earlier, no new info since then -> closing.