mbakeranalecta / sam

Semantic Authoring Markdown
Other
79 stars 8 forks source link

Parsing again to validate? #192

Open mbakeranalecta opened 6 years ago

mbakeranalecta commented 6 years ago

SAM parser information: Parsing C:\Users\Mark\structuredwritingbook\sam\book.sam SAM parser warning: Block with neither content not children detected. Are you sure this is what you meant? Perhaps this was intended as plain text:

index:

SAM parser information: Validating XML output using sambook.xsd SAM parser warning: Block with neither content not children detected. Are you sure this is what you meant? Perhaps this was intended as plain text:

index:

SAM parser information: Validation successful.

mbakeranalecta commented 6 years ago

No, because the Block with neither content not children detected. warning is issued on serialization. So we are serializing twice, which is unnecessary too, but not parsing twice.