-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Labels
BugSomething isn't workingSomething isn't working
Description
Expected Behavior
BxBlock
without name can be printed with RebuildMedia
.
Update (13.07.21):
The question is how to use this library:
In my opinion, you should not be able to create a BxBlock that cannot also be printed.
But it is possible to create a BxBlock as root element, which leads to the given exception.
The question arises whether the knowledge should be presupposed, how the Library is to be used, or whether a more intuitive use is wanted.
Actual Behavior
new BxBlock(new BxProp("test", "x")).Print(new RebuildMedia());
throws an exception:
System.ArgumentException: ''' is an invalid expanded name.'
Hint: #17 fixes not meaningful exception
Mention any other details that might be useful
The following is working:
new BxBlock("missingName", new BxProp("test", "x")).Print(new RebuildMedia());
results in:
<missingName bx-type="block">
<test bx-type="prop">x</test>
</missingName>
Steps to reproduce the behavior
The log given by the failure.
Metadata
Metadata
Assignees
Labels
BugSomething isn't workingSomething isn't working