Giter Site home page Giter Site logo

cnd2xsdconverter's People

Contributors

amardeka avatar

cnd2xsdconverter's Issues

Cannot convert CND definition for jcr:root

What steps will reproduce the problem?
1. Export node type CND from CRX
  1.1 Tools > Export node type
  1.2 Save file as jcr.cnd
2. java -jar cnd2xsd-R1.jar -fc jcr.cnd -fx jcr.xsd
3.
15:29:31.680 [main] DEBUG edu.vt.cs.cnd2xsd.Cnd2XsdConverter - Logged in as 
admin to a repository :Jackrabbit
15:29:34.284 [main] DEBUG edu.vt.cs.cnd2xsd.Cnd2XsdConverter - Registered: 
cq:CalendarRecurrence
15:29:34.284 [main] DEBUG edu.vt.cs.cnd2xsd.Cnd2XsdConverter - Registered: 
cq:PseudoPage
15:29:34.284 [main] DEBUG edu.vt.cs.cnd2xsd.Cnd2XsdConverter - Registered: 
cq:EditConfig
15:29:34.285 [main] DEBUG edu.vt.cs.cnd2xsd.Cnd2XsdConverter - Registered: 
cq:Widget
15:29:34.285 [main] DEBUG edu.vt.cs.cnd2xsd.Cnd2XsdConverter - Registered: 
vlt:FullCoverage
15:29:34.285 [main] DEBUG edu.vt.cs.cnd2xsd.Cnd2XsdConverter - Registered: 
cq:Wait
15:29:34.285 [main] DEBUG edu.vt.cs.cnd2xsd.Cnd2XsdConverter - Registered: 
dam:Asset
15:29:34.285 [main] DEBUG edu.vt.cs.cnd2xsd.Cnd2XsdConverter - Registered: 
crx:XmlProcessingInstruction
...
15:29:34.290 [main] DEBUG edu.vt.cs.cnd2xsd.Cnd2XsdConverter - Registered: 
cq:Payload
15:29:34.290 [main] DEBUG edu.vt.cs.cnd2xsd.Cnd2XsdConverter - Registered: 
cq:WorkflowTransition
Exception in thread "main" java.lang.NullPointerException
        at edu.vt.cs.cnd2xsd.Cnd2XsdConverter.loadPropertyMap(Cnd2XsdConverter.java:137)
        at edu.vt.cs.cnd2xsd.Cnd2XsdConverter.init(Cnd2XsdConverter.java:655)
        at edu.vt.cs.cnd2xsd.Cnd2XsdConverter.main(Cnd2XsdConverter.java:269)



What is the expected output? What do you see instead?

  Expected: An xsd file with definitions for all CQ node types


What version of the product are you using? On what operating system?

   java version "1.6.0_43"
   cygwin on win7 x64 


Please provide any additional information below.

Not sure why node types are being registered. This is a tool to translate CND 
notation to XSD...



Original issue reported on code.google.com by [email protected] on 7 May 2013 at 10:35

Attachments:

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.