AcademySoftwareFoundation / AcademySoftwareFoundation/MaterialX

Query: What is supposed to happen with multiple <materialx> tags in a document ?

Open
#1,835 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
C++
Stars
2.3k
Forks
451
Avg merge
4d 11h
Merged PRs (30d)
8

Description

## Query

I just accidently came across this. But if you have multiple `` blocks what is supposed to occur ?

Currently it will just read the first block and discards subsequent blocks without any error / warning.
A trivial thing, (and assume it's just how the parser works?) but users may become confused if some content does not read in.

Contributor guide

Open the contributing guide

Research direction

Start by tracing the C++ parser path that handles multiple blocks and inspect any existing parser tests or documentation. First establish the intended behavior for repeated blocks; done should include a documented decision, appropriate handling of subsequent blocks, and regression coverage for the case described.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp
Domain
computer-graphics
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.