Skip to main content
March 3, 2009
Question

error : Severity and Description Path Resource Location Creation Time Id

  • March 3, 2009
  • 66 replies
  • 11254 views

i have this error :
Severity and Description Path Resource Location Creation Time Id
invalid character or markup found in script block. Try surrounding your code with a CDATA block. essai/src essai.mxml Unknown 1236103965593 182


my source is attach code


Many thanks for your help , 


Lionceau,

    This topic has been closed for replies.

    66 replies

    Participating Frequently
    March 4, 2009
    Lionceau,
    every time your error message is telling you exactly what is wrong! Your tag <mx:Repeater id="rp" dataProvider="{selectedUsers}" is never closed!
    Richard
    March 4, 2009
    yes but yes i understand you say ,i must do it :
    <mx:Repeater id="rp" dataProvider="{selectedUsers}"




    <mx:Canvas id="rs" width="100%" height="100%"
    minHeight="200" minWidth="200"
    backgroundAlpha=".5"
    backgroundColor="gray"
    cornerRadius="12"
    borderStyle="solid"
    horizontalScrollPolicy="off" verticalScrollPolicy="off">


    <collaboration:WebcamSubscriber webcamPublisher="{webCamPub}"
    width="100%" height="100%"
    publisherIDs="{[rp.currentItem.userID]}" click="onClick(event)"
    userBooted="onBooted(event)" streamChange="onCameraPause(event)" >
    </collaboration:WebcamSubscriber>




    </mx:Canvas>

    </mx:Repeater>



    but this don't change , i have ever this error , look this :


    Severity and Description Path Resource Location Creation Time Id
    Element type "mx:Repeater" must be followed by either attribute specifications, ">" or "/>". essai/src essai.mxml line 364 1236171755359 246




    Lionceau,
    Participating Frequently
    March 4, 2009
    Lionceau,
    you have
    <collaboration:WebcamSubscriber webcamPublisher="{webCamPub}"
    </collaboration:WebcamSubscriber>

    width="100%" height="100%"
    publisherIDs="{[rp.currentItem.userID]}" click="onClick(event)"
    userBooted="onBooted(event)" streamChange="onCameraPause(event)"/>

    Now if you look carefully you will see you have tried to close the tag _twice_, once with the </collaboration:WebcamSubscriber> tag (but in this case you have never actually closed the tag after "{webCamPub}"). And then again with the /> at the end of the snip (but this is foiled by your inclusion of the explicit close).

    You need to check your tag nesting and closure more carefully...
    Richard
    March 4, 2009
    yes there are angle brackets missing but i don't find where put this !!!



    lionceau,
    March 4, 2009
    yes thanks , but i have always this error :
    What ? Why?

    Severity and Description Path Resource Location Creation Time Id
    Element type "collaboration:WebcamSubscriber" must be followed by either attribute specifications, ">" or "/>". essai/src essai.mxml line 371 1236167966812 225




    remember you, my surce is :
    <mx:Repeater id="rp" dataProvider="{selectedUsers}">

    <mx:Canvas id="rs" width="100%" height="100%"
    minHeight="200" minWidth="200"
    backgroundAlpha=".5"
    backgroundColor="gray"
    cornerRadius="12"
    borderStyle="solid"
    horizontalScrollPolicy="off" verticalScrollPolicy="off">


    <collaboration:WebcamSubscriber webcamPublisher="{webCamPub}"
    </collaboration:WebcamSubscriber>

    width="100%" height="100%"
    publisherIDs="{[rp.currentItem.userID]}" click="onClick(event)"
    userBooted="onBooted(event)" streamChange="onCameraPause(event)"/>


    </mx:Canvas>

    </mx:Repeater>





    Lionceau,
    Inspiring
    March 4, 2009
    The code that is in bold type, is not nested in a tag.

    </collaboration:WebcamSubscriber>

    width="100%" height="100%"
    publisherIDs="{[rp.currentItem.userID]}" click="onClick(event)"
    userBooted="onBooted(event)" streamChange="onCameraPause(event)"/>

    </mx:Canvas>
    March 4, 2009
    Hello ,

    I find what i have this error
    do not <<mx:canvas id="rs" width="100%" height="100%"

    must do <mx:canvas id="rs" width="100%" height="100%"


    but i have always a error , what i have this ?


    Severity and Description Path Resource Location Creation Time Id
    Element type "mx:canvas" must be followed by either attribute specifications, ">" or "/>". essai/src essai.mxml line 370 1236166570437 216







    i think the error must be here , where is she ?

    <mx:Repeater id="rp" dataProvider="{selectedUsers}">

    <mx:canvas id="rs" width="100%" height="100%"
    minHeight="200" minWidth="200"
    backgroundAlpha=".5"
    backgroundColor="gray"
    cornerRadius="12"
    borderStyle="solid"
    horizontalScrollPolicy="off" verticalScrollPolicy="off"


    ici la ligne 270 <collaboration:WebcamSubscriber webcamPublisher="{webCamPub}"
    </collaboration:WebcamSubscriber>

    width="100%" height="100%"
    publisherIDs="{[rp.currentItem.userID]}" click="onClick(event)"
    userBooted="onBooted(event)" streamChange="onCameraPause(event)"/>


    </mx:canvas>

    </mx:Repeater>










    Lionceau,
    Inspiring
    March 4, 2009
    You need some sleep! By just glancing at your code, I noticed that there are angle brackets missing and mx:Canvas needs to be declared as mx:Canvas, not mx:canvas.