question

AlexeiSo-5879 avatar image
0 Votes"
AlexeiSo-5879 asked TomJebo-9587 commented

Unexpected OutlineGroup element

Hello!

I have a file in OneNote Online format.
This file has unexpected structure: there is a table cell with OutlineGroup node as a child.

But [MS-ONE], 2.2.55 ElementChildNodesOfTableCell states that this situation can't happen: only OutlineElement node can be a child of table cell.

The ElementChildNodesOfTableCell structure is an array of ObjectID structures (section 2.1.6) that specifies outline elements (section 1.3.2.2) in a table cell. The array MUST contain at least one ObjectID structure and each ObjectID structure in the array MUST reference a jcidOutlineElementNode element.

Can I get a clarification regarding this case?

Thanks!

PS I can share a sample file via e-mail.

openspecs-office-fileformatsopenspecs-officeopenspecs-questionsopenspecs-office-sharepoint
· 5
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Hi @AlexeiSo-5879
I have alerted the open specifications team regarding your inquiry. A member of the team will be in touch soon.

Regards,
Obaid Farooqi - MSFT

1 Vote 1 ·

Hi Alexei,

How did you create the .one file? The MS-ONE specifications only covers the OneNote 2010 format and only for purposes of supporting the MS-ONESTORE format. So this could be a difference specific to OneNote Online and not tied to the MS-ONESTORE format. I will definitely check out the OutlineGroup structure and it's placement here.

Best regards,
Tom Jebo
Sr Escalation Engineer
Microsoft Open Specifications Support

0 Votes 0 ·

And yes, please feel free to send the sample file to dochelp@microsoft.com, referencing the URL for this thread and my name.

Tom

0 Votes 0 ·

I received this file from client. I don't know how he got it.

I tried to reproduce a file of the same structure using OneNote 2016, OneNote for Windows 10 and OneNote Web.
No success: all apps prohibit actions to add indent for first item of the list in a table.

The strange thing is that document's structure, as I think, doesn't correspond to spec but OneNote app processes it well.
Can it be that the structure of this sample file was correct according some old spec but over time specification has changed and for now the sample file doesn't correspond to latest spec but OneNote processes it well for legacy reasons and doesn't allow to create document of the same structure?

PS I sent a sample file via e-mail.

0 Votes 0 ·

Hi Alexei,

I apologize for the delay in getting back to you. I did take a look at the file but will follow up with some questions in the email thread you started.

Tom

0 Votes 0 ·

1 Answer

TomJebo-9587 avatar image
0 Votes"
TomJebo-9587 answered TomJebo-9587 commented

Hi @AlexeiSo-5879,

I did finally nail down the story on this. OneNote 2010 and later versions (might be in earlier versions as well but MS-ONE only scopes to OneNote 2010) do allow for both jcidOutlineElementNode and jcidOutlineGroup child elements of a jcidTableCellNode. They at least consider the file format valid when this happens. I'm not sure how to accomplish this in OneNote UI. I believe the UI works to remove these in most cases but it is considered technically valid.

Therefore, I will file a bug against MS-ONE to propose the addition of jcidOutlineGroup as a possible jcidTableCellNode child to the specification so as not to confuse implementers parsing and validating.

Let me know if you agree with this.

Best regards,
Tom Jebo
Sr Escalation Engineer
Microsoft Open Specifications Support

· 2
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Hi, Tom!

That is ok for me.
Thanks!

0 Votes 0 ·

@AlexeiSo-5879, thanks for confirming.

Tom

0 Votes 0 ·