marvin-zhao / pyang

Automatically exported from code.google.com/p/pyang
0 stars 0 forks source link

DSDL plugin: gen-schematron.xsl generates illegal XPath expressions #94

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. generate hybrid schema from ietf-ipfix-psamp@2011-07-07.yang (attachement)
2. run gen-schematron.xsl on it
3. check output file

What is the expected output? What do you see instead?
Various sch elements contain illegal qNames, such as ":ieName". It seems that 
the prefix variable value gets eaten up at some places. 

What version of the product are you using? On what operating system?
svn source, rev 830. Reproduced with xsltproc and Saxon9HE.

Please provide any additional information below.
Check the code where "Node(s) from one case of mandatory choice" messages get 
generated inside abstract patterns.

Original issue reported on code.google.com by jernej.t...@gmail.com on 24 Jul 2013 at 7:02

Attachments:

GoogleCodeExporter commented 9 years ago

Original comment by mbj4...@gmail.com on 25 Jul 2013 at 5:43

GoogleCodeExporter commented 9 years ago
Jernej, please verify the fix.

Original comment by lada.lho...@gmail.com on 8 Aug 2013 at 2:34

GoogleCodeExporter commented 9 years ago
I can no longer find an occurrence of a QName I described, so I think this is 
fixed. 

Original comment by jernej.t...@gmail.com on 12 Aug 2013 at 6:54