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 185036 - [69cat] XML: Well-Formedness documentations should be refined
Summary: [69cat] XML: Well-Formedness documentations should be refined
Status: CLOSED FIXED
Alias: None
Product: usersguide
Classification: Unclassified
Component: XML (show other bugs)
Version: 6.x
Hardware: PC Windows XP
: P3 normal (vote)
Assignee: Jeffrey Rubinoff
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-04-26 17:54 UTC by gliesian
Modified: 2011-11-04 17:36 UTC (History)
0 users

See Also:
Issue Type: ENHANCEMENT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description gliesian 2010-04-26 17:54:02 UTC
The following text from the (Help | Help Contents) Checking an XML Document for Well-Formedness documentations should be refined.

The following...

- Every start tag must have an end tag. 
- Elements cannot overlap. 
- There must be exactly one root element. 
- Attribute values must be quoted. 
- An element cannot have two attributes with the same name. 
- Comments and processing instructions cannot appear inside tags. 
- No unescaped < or & signs can occur in the element's character data or attribute's character data. 

should read something similar to...

- Every start tag must have a matching end tag. Tags are case-sensitive. 
- Start, end and empty-element tags must have proper nesting, without missing or overlapping tags. 
- There must be exactly one root element, also known as the document element, that does not appear in the content of any other element. 
- Attribute values must be quoted.  Attributes are listed in the start tag. 
- An element cannot have two or more attributes with the same name. 
- Comments and processing instructions cannot appear inside tags. 
- Special syntax characters including  "<" and "&" [[PLEASE COMPLETE AS ABOVE REFERENCE IS WRONG, (e.g. "&amp;" can occur in the character data).  See reference below for ideas.]]. 

Thanks.

Reference: 
http://en.wikipedia.org/wiki/XML#Well-formedness_and_error-handling
Comment 1 Irina Filippova 2010-04-27 16:12:27 UTC
Jeff, can you please take a look?
Comment 2 Jeffrey Rubinoff 2010-04-28 01:33:23 UTC
All seem fair points
Comment 3 Jeffrey Rubinoff 2010-04-28 07:39:07 UTC
Just pushed