<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic ERROR: Element 'example', attribute 'path' in MCUX SDK Generator</title>
    <link>https://community.nxp.com/t5/MCUX-SDK-Generator/ERROR-Element-example-attribute-path/m-p/811296#M7</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am currently working on adding a new board to the SDK generator. I was working on an old branch, and after I rebase my branch with the "release/2.5.0_rel9_rfp" the generator stopped working. The behavior was the following :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Start generating examples.&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;generate project:&amp;nbsp; [release debug] [rapidiotk64f_hello_world] [C:/Repos/mcu-sdk-2.0/boards/${board}/demo_apps/hello_world/iar/rapidiotk64f_hello_world.ewp]&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;generate project:&amp;nbsp; [release debug] [rapidiotk64f_hello_world] [C:/Repos/mcu-sdk-2.0/boards/${board}/demo_apps/hello_world/mdk/rapidiotk64f_hello_world.uvprojx]&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;.&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;.&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;.&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;106:0: ERROR: Element 'example', attribute 'path': [facet 'pattern'] The value 'boards/${board}/demo_apps/hello_world' is not accepted by the pattern '([$a-zA-Z_\-\s0-9\.\|\(\)']+/?)+'.&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;106:0: ERROR: Element 'example', attribute 'path': 'boards/${board}/demo_apps/hello_world' is not a valid value of the local atomic type.&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As you can see the scrip didn't parse the ${board} expression and created the "${board}" board. After some digging I found that in other working boards in the "mcu-sdk-2.0\bin\generator\records_v1\projects\frdmk64f\sdk.yml" file the "- bin/generator/records_v1/msdk/projects/lib_example/lib_sdk/MK64F12.yml" line was commented out. After I commented this line for my board it worked.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Why do we need to comment that line ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you,&lt;/P&gt;&lt;P&gt;Razvan.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 01 Oct 2018 08:21:47 GMT</pubDate>
    <dc:creator>razvanstanescu</dc:creator>
    <dc:date>2018-10-01T08:21:47Z</dc:date>
    <item>
      <title>ERROR: Element 'example', attribute 'path'</title>
      <link>https://community.nxp.com/t5/MCUX-SDK-Generator/ERROR-Element-example-attribute-path/m-p/811296#M7</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am currently working on adding a new board to the SDK generator. I was working on an old branch, and after I rebase my branch with the "release/2.5.0_rel9_rfp" the generator stopped working. The behavior was the following :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Start generating examples.&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;generate project:&amp;nbsp; [release debug] [rapidiotk64f_hello_world] [C:/Repos/mcu-sdk-2.0/boards/${board}/demo_apps/hello_world/iar/rapidiotk64f_hello_world.ewp]&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;generate project:&amp;nbsp; [release debug] [rapidiotk64f_hello_world] [C:/Repos/mcu-sdk-2.0/boards/${board}/demo_apps/hello_world/mdk/rapidiotk64f_hello_world.uvprojx]&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;.&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;.&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;.&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;106:0: ERROR: Element 'example', attribute 'path': [facet 'pattern'] The value 'boards/${board}/demo_apps/hello_world' is not accepted by the pattern '([$a-zA-Z_\-\s0-9\.\|\(\)']+/?)+'.&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;106:0: ERROR: Element 'example', attribute 'path': 'boards/${board}/demo_apps/hello_world' is not a valid value of the local atomic type.&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As you can see the scrip didn't parse the ${board} expression and created the "${board}" board. After some digging I found that in other working boards in the "mcu-sdk-2.0\bin\generator\records_v1\projects\frdmk64f\sdk.yml" file the "- bin/generator/records_v1/msdk/projects/lib_example/lib_sdk/MK64F12.yml" line was commented out. After I commented this line for my board it worked.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Why do we need to comment that line ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you,&lt;/P&gt;&lt;P&gt;Razvan.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 01 Oct 2018 08:21:47 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCUX-SDK-Generator/ERROR-Element-example-attribute-path/m-p/811296#M7</guid>
      <dc:creator>razvanstanescu</dc:creator>
      <dc:date>2018-10-01T08:21:47Z</dc:date>
    </item>
    <item>
      <title>Re: ERROR: Element 'example', attribute 'path'</title>
      <link>https://community.nxp.com/t5/MCUX-SDK-Generator/ERROR-Element-example-attribute-path/m-p/811297#M8</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Razvan,&lt;BR /&gt;we do not know the answer, this should be answered by @Holt Sun. It seems it is not blocking so lets wait when he is back from holidays.&lt;/P&gt;&lt;P&gt;Marek&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 01 Oct 2018 09:39:02 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCUX-SDK-Generator/ERROR-Element-example-attribute-path/m-p/811297#M8</guid>
      <dc:creator>marek-trmac</dc:creator>
      <dc:date>2018-10-01T09:39:02Z</dc:date>
    </item>
    <item>
      <title>Re: ERROR: Element 'example', attribute 'path'</title>
      <link>https://community.nxp.com/t5/MCUX-SDK-Generator/ERROR-Element-example-attribute-path/m-p/811298#M9</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You are right, it is not blocking me. I just wanted to understand better the problem and also I wanted to share my fix.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 01 Oct 2018 11:04:23 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCUX-SDK-Generator/ERROR-Element-example-attribute-path/m-p/811298#M9</guid>
      <dc:creator>razvanstanescu</dc:creator>
      <dc:date>2018-10-01T11:04:23Z</dc:date>
    </item>
  </channel>
</rss>

