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.
Using forward slash ('/') in HTML 5 id attribute produces error "Unexpected token SOLIDUS found", ie. in: <div id="foo/bar"></div> However, HTML5 restricts id attribute to not contain whitespaces only, any other character is valid, including forward slash. W3C validator didn't produce any error with such a code. Product Version = NetBeans IDE 7.2 (Build 201207171143)
Created attachment 122831 [details] IDE log
Reproducible. HTML5 spec removed the limits of the id attribute value as it was defined in HTML4.01.
*** Bug 232900 has been marked as a duplicate of this bug. ***
issue 232900 reports the same problem for dollar sign character.
Looks like this missed the target milestone of 7.4. Any chance it might make it to 8.0?
changeset: 276002:1685f0573b59 summary: #216489 - Attribute 'id' shows an error with forward slash in it
Integrated into 'main-silver', will be available in build *201407250001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-silver/rev/1685f0573b59 User: Marek Fukala <mfukala@netbeans.org> Log: #216489 - Attribute 'id' shows an error with forward slash in it