cxbrooks / test

Second test for bugzilla to git
0 stars 0 forks source link

MoML is not valid XML #213

Open cxbrooks opened 14 years ago

cxbrooks commented 14 years ago

Note: the issue was created automatically with bugzilla2github tool

Original bug ID: BZ#331 From: @cxbrooks Reported version: 8.1.devel CC: pt-dev@chess.eecs.berkeley.edu

cxbrooks commented 14 years ago

Validating XML parsers such as JDOM or xmllint indicate that MoML is invalid XML because we use PCDATA for the configure tags.

Details may be found at http://mercury.nceas.ucsb.edu/kepler/pipermail/kepler-users/2010-January/001871.html

This is not something that is likely to be fixed, but it is a bug.

I just added a test to ptolemy/configure/test that removes the configure sections and then uses a validating parser on each demo. This test found two invalid files Pthales AdaptiveBeamForming, which had a link to the dtd that was "D:\PtolemyII\ptII\ptolemy\moml\MoML_1.dtd" instead of "http://ptolemy.eecs.berkeley.edu/xml/dtd/MoML_1.dtd"

Also, Zigbee.xml had \361 instead of ũ