Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

comment not terminated error

Status
Not open for further replies.

250881

Technical User
Feb 23, 2010
2
US
Hi,
I am using Real 3d carousel with the help of xml but when i upload xml file to my server and run it into broweser. I get following error message.

error on line 10 at column 5: Comment not terminated

here is link to page


Any Idea
 
This is how you read the xml 1.0 recommendation.
-quote {grammar}-
[tt][15] Comment ::= '<!--' ((Char - '-') | ('-' (Char - '-')))* '-->'[/tt]
-unquote-

Basically, it tells you that a legitimate comment is [1] starting with "<!--" followed by [2] concatination of particles being either "a character (except a hyphen)" ([blue](Char - '-')[/blue]) or a hyphen followed by a character other than hyphen ([blue]('-' (Char - '-'))[/blue]) and then [3] end with "-->".

Therefore,
[tt] <!------->[/tt]
is not a well-formed comment, and hence, the document itself is ill-formed.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top